/[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 306 by bh, Fri Aug 30 17:41:04 2002 UTC revision 307 by bh, Fri Sep 6 10:01:16 2002 UTC
# Line 309  class MainWindow(wxFrame): Line 309  class MainWindow(wxFrame):
309          if result == wxID_CANCEL:          if result == wxID_CANCEL:
310              event.Veto()              event.Veto()
311          else:          else:
312                # FIXME: it would be better to tie the unsubscription to
313                # wx's destroy event, but that isn't implemented for wxGTK
314                # yet.
315                self.canvas.Unsubscribe(VIEW_POSITION, self.view_position_changed)
316              self.Destroy()              self.Destroy()
317    
318      def SetMap(self, map):      def SetMap(self, map):

Legend:
Removed from v.306  
changed lines
  Added in v.307

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26