Changeset 2729

Show
Ignore:
Timestamp:
01/21/2007 09:13:49 PM (2 years ago)
Author:
paul
Message:

Starting in wxPython 2.7, our dialogs weren't giving focus to the first
control. Fixed.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/dabo/ui/uiwx/dDialog.py

    r2524 r2729  
    3535        # Hook method, so that we add the buttons last 
    3636        self._addControls() 
     37 
     38        # Needed starting with wx 2.7, for the first control to have the focus: 
     39        self.setFocus() 
    3740 
    3841