Changeset 4319
- Timestamp:
- 07/24/08 14:27:08 (1 month ago)
- Files:
-
- trunk/dabo/ui/uiwx/dDialog.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/dabo/ui/uiwx/dDialog.py
r4318 r4319 279 279 elif id_ == wx.ID_NO: 280 280 self.btnNo = newbtn = dabo.ui.dButton(btn.Parent) 281 self.setEscapeButton(newbtn)282 281 mthd = self._onNo 283 282 elif id_ == wx.ID_OK: … … 287 286 self.btnCancel = newbtn = dabo.ui.dButton(btn.Parent) 288 287 mthd = self._onCancel 289 self.setEscapeButton(newbtn)290 288 elif id_ == wx.ID_HELP: 291 289 self.btnHelp = btn … … 306 304 elif yes: 307 305 self.YesButton.DefaultButton = True 306 307 # Force the escape button to be set appropriately: 308 self.CancelOnEscape = self.CancelOnEscape 308 309 309 310 # Wx rearranges the order of the buttons per platform conventions, but
