/[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 28 by bh, Thu Sep 6 13:29:57 2001 UTC revision 486 by jonathan, Fri Mar 7 18:20:46 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):
24            self.Shutdown()
25    
26        def Shutdown(self):
27          self.parent.remove_dialog(self.name)          self.parent.remove_dialog(self.name)
28          self.Destroy()          self.Destroy()
29            

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26