/[thuban]/branches/WIP-pyshapelib-bramz/Thuban/UI/dialogs.py
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/Thuban/UI/dialogs.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 486 by jonathan, Fri Mar 7 18:20:46 2003 UTC revision 501 by jonathan, Mon Mar 10 15:11:39 2003 UTC
# Line 21  class NonModalDialog(wxFrame): Line 21  class NonModalDialog(wxFrame):
21          EVT_CLOSE(self, self.OnClose)          EVT_CLOSE(self, self.OnClose)
22    
23      def OnClose(self, event):      def OnClose(self, event):
         self.Shutdown()  
   
     def Shutdown(self):  
24          self.parent.remove_dialog(self.name)          self.parent.remove_dialog(self.name)
25          self.Destroy()          self.Destroy()
26                    

Legend:
Removed from v.486  
changed lines
  Added in v.501

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26