Changeset 172 for pykoticon

Show
Ignore:
Timestamp:
09/27/06 22:41:38 (18 years ago)
Author:
jerome
Message:

Fixed focus problem.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykoticon/trunk/bin/pykoticon

    r170 r172  
    237237        okbutton = wx.Button(self, wx.ID_OK, "OK")     
    238238        vsizer.Add(okbutton, 0, wx.ALIGN_CENTER | wx.ALL, 5) 
    239          
     239        if self.variables : 
     240            self.variables[0].SetFocus() 
    240241        self.SetAutoLayout(True) 
    241242        self.SetSizerAndFit(vsizer) 
    242243        self.Layout() 
     244        self.Show(True) 
     245        self.Raise() 
    243246         
    244247