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

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

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

revision 23 by bh, Tue Sep 4 16:44:31 2001 UTC revision 24 by bh, Wed Sep 5 13:35:46 2001 UTC
# Line 39  bitmapext = ".xpm" Line 39  bitmapext = ".xpm"
39    
40  class MainWindow(wxFrame):  class MainWindow(wxFrame):
41    
42      def __init__(self, parent, ID):      def __init__(self, parent, ID, interactor):
43          wxFrame.__init__(self, parent, ID, 'Thuban',          wxFrame.__init__(self, parent, ID, 'Thuban',
44                           wxDefaultPosition, wxSize(400, 300))                           wxDefaultPosition, wxSize(400, 300))
45    
# Line 101  class MainWindow(wxFrame): Line 101  class MainWindow(wxFrame):
101          toolbar.Realize()          toolbar.Realize()
102    
103          # Create the map canvas          # Create the map canvas
104          canvas = view.MapCanvas(self, -1)          canvas = view.MapCanvas(self, -1, interactor)
105          self.canvas = canvas          self.canvas = canvas
106    
107          EVT_CLOSE(self, self.OnClose)          EVT_CLOSE(self, self.OnClose)

Legend:
Removed from v.23  
changed lines
  Added in v.24

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26