Example #1
0
class wattrApp(wx.App):
    """Main Application Class"""
    def OnInit(self):
        #Create the Main Controller for the app
        self.controller = MainController(self)
        return True

    def onExit(self):
        super(wattrApp, self).onExit()
        self.controller.on_exit()
Example #2
0
class wattrApp(wx.App):
    """Main Application Class"""

    def OnInit(self):
        #Create the Main Controller for the app
        self.controller = MainController(self)
        return True

    def onExit(self):
        super(wattrApp, self).onExit()
        self.controller.on_exit()