Esempio n. 1
0
    def OnInit(self):
        self.SetAppName(self.appname)

        self.paths = attrdict()
        
        wx.InitAllImageHandlers()
        self.InitPaths()
        self.SetPlatformPaths()

        return True
Esempio n. 2
0
    def __init__(self, appname, filename=None):
        self.paths = attrdict()
        self.appname = appname
        wx.App.__init__(self, filename=filename)

        self.OnInitXpApp()