/[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 1140 by jan, Fri Jun 6 11:18:51 2003 UTC revision 1155 by jan, Thu Jun 12 12:17:11 2003 UTC
# Line 22  import copy Line 22  import copy
22  from wxPython.wx import *  from wxPython.wx import *
23  from wxPython.wx import __version__ as wxPython_version  from wxPython.wx import __version__ as wxPython_version
24    
 from wxPython.lib.dialogs import wxMultipleChoiceDialog  
   
25  import Thuban  import Thuban
26  import Thuban.version  import Thuban.version
27    
# Line 31  from Thuban import _ Line 29  from Thuban import _
29  from Thuban.Model.session import create_empty_session  from Thuban.Model.session import create_empty_session
30  from Thuban.Model.layer import Layer, RasterLayer  from Thuban.Model.layer import Layer, RasterLayer
31    
32    # XXX: replace this by
33    # from wxPython.lib.dialogs import wxMultipleChoiceDialog
34    # when Thuban does not support wxPython 2.4.0 any more.
35    from Thuban.UI.multiplechoicedialog import wxMultipleChoiceDialog
36    
37  import view  import view
38  import tree  import tree
39  import tableview, identifyview  import tableview, identifyview
# Line 632  class MainWindow(DockFrame): Line 635  class MainWindow(DockFrame):
635          dialog = self.get_open_dialog(name)          dialog = self.get_open_dialog(name)
636    
637          if dialog is None:          if dialog is None:
638              dialog = Classifier(self, name, layer, group)              dialog = Classifier(self, name, self.Map(), layer, group)
639              self.add_dialog(name, dialog)              self.add_dialog(name, dialog)
640              dialog.Show()              dialog.Show()
641          dialog.Raise()          dialog.Raise()

Legend:
Removed from v.1140  
changed lines
  Added in v.1155

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26