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

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

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

revision 6 by bh, Tue Aug 28 15:41:52 2001 UTC revision 25 by bh, Wed Sep 5 13:36:13 2001 UTC
# Line 39  class ThubanApplication(wxApp, Publisher Line 39  class ThubanApplication(wxApp, Publisher
39      """      """
40    
41      def OnInit(self):      def OnInit(self):
         # ugly hack to set the global app object before window-classes  
         # are instantiated  
         import main  
         main.app = self  
42          self.interactor = Interactor(None)          self.interactor = Interactor(None)
43          top = MainWindow(NULL, -1)          top = MainWindow(NULL, -1, self.interactor)
44          top.Show(true)          top.Show(true)
45          self.top = top          self.top = top
46          self.SetTopWindow(top)          self.SetTopWindow(top)

Legend:
Removed from v.6  
changed lines
  Added in v.25

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26