Changeset 10352

Show
Ignore:
Timestamp:
09/01/10 09:54:02 (3 years ago)
Author:
Snyder.Jason
Message:

refactored OnInit?() into the constructor since WavedashController? no longer inherits from wx.App and OnInit?() is no longer called automatically

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • ossiedev/trunk/tools/wavedash/src/WavedashController.py

    r10351 r10352  
    4141    def __init__(self, enableGUI = True): 
    4242        self.enableGUI = enableGUI 
    43          
    44     def OnInit(self): 
    4543        self.model = WavedashModel(self) 
    4644        self.views = [] 
    4745        self.widgetContainer = None 
    4846        self.CORBAutils = utils.WaveAppCORBA() 
    49         return True 
    5047         
    5148    def buildModel(self): 
     
    193190    app = DummyWXApp() 
    194191    ctrlr = Controller() 
    195     ctrlr.OnInit() 
    196192    ctrlr.createWidgetContainer() 
    197193