Changeset 97
- Timestamp:
- 01/27/06 12:57:32 (19 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykoticon/trunk/bin/pykoticon
r96 r97 99 99 # ugly, isn't it ? 100 100 while self.frame.askConfirmationResult is None : 101 time.sleep(0. 5)101 time.sleep(0.1) 102 102 retcode = self.frame.askConfirmationResult 103 103 self.frame.askConfirmationResult = None # prepare for next call, just in case … … 236 236 dialog = wx.MessageDialog(self, message, _("Confirmation"), \ 237 237 wx.YES_NO | wx.YES_DEFAULT | wx.ICON_QUESTION | wx.STAY_ON_TOP) 238 self.askConfirmationResult = dialog.ShowModal()238 self.askConfirmationResult = ((dialog.ShowModal() == wx.ID_NO) and "CANCEL") or "OK" 239 239 dialog.Destroy() 240 240