Changeset 96

Show
Ignore:
Timestamp:
01/27/06 12:40:55 (19 years ago)
Author:
jerome
Message:

Improved the confirmation dialog box.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykoticon/trunk/bin/pykoticon

    r93 r96  
    232232This job seems to be %(jobsize)s pages long.  
    233233 
    234 Please confirm or cancel.""") % locals() 
     234Do you really want to print it ?""") % locals() 
    235235                      
    236         dialog = wx.MessageDialog(self, message, _("Confirmation"), wx.OK | wx.CANCEL) 
     236        dialog = wx.MessageDialog(self, message, _("Confirmation"), \ 
     237                 wx.YES_NO | wx.YES_DEFAULT | wx.ICON_QUESTION | wx.STAY_ON_TOP) 
    237238        self.askConfirmationResult = dialog.ShowModal() 
    238239        dialog.Destroy()