Changeset 267


Ignore:
Timestamp:
09/10/10 16:34:16 (10 years ago)
Author:
marcus
Message:

sandbox cleanup

Location:
SHX/trunk/src/sandbox
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • SHX/trunk/src/sandbox/commondialogs.py

    r249 r267  
    3535    def message(self, event): 
    3636        dlg = wx.MessageDialog(self, 'To save one life is as if you have saved the world.', 'Talmud', wx.OK|wx.ICON_INFORMATION) 
     37        dlg.ShowModal() 
     38        dlg.Destroy() 
     39 
     40        dlg = wx.MessageDialog(self, 'Unexcepted error occured!', 'Oops!', wx.OK|wx.ICON_ERROR) 
    3741        dlg.ShowModal() 
    3842        dlg.Destroy() 
Note: See TracChangeset for help on using the changeset viewer.