class Wx_App(wx.App): def __init__(self, *args, **kwargs): """Creates a test wx App""" super(Wx_App, self).__init__(*args, **kwargs) self._create_config() def _create_config(self): """Set up config""" self.config= IdeConfig() def OnExit(self): """Handles the frame closing function""" print ("App closing") self.config.update_configfile()
class Wx_App(wx.App): def __init__(self, *args, **kwargs): """Creates a test wx App""" super(Wx_App, self).__init__(*args, **kwargs) self._create_config() def _create_config(self): """Set up config""" self.config = IdeConfig() def OnExit(self): """Handles the frame closing function""" print("App closing") self.config.update_configfile()
def _create_config(self): """Set up config""" self.config= IdeConfig()
def _create_config(self): """Set up config""" self.config = IdeConfig()