25 lines
465 B
Python
25 lines
465 B
Python
|
# -*- coding: iso-8859-1 -*-
|
||
|
import wx
|
||
|
#import xenforo
|
||
|
#provider = wx.SimpleHelpProvider()
|
||
|
#wx.HelpProvider_Set(provider)
|
||
|
|
||
|
import MyFrame
|
||
|
|
||
|
|
||
|
class App(wx.App):
|
||
|
def OnInit(self):
|
||
|
wx.InitAllImageHandlers()
|
||
|
self.main = MyFrame.MyFrame(None)
|
||
|
self.main.Show()
|
||
|
self.SetTopWindow(self.main)
|
||
|
return 1
|
||
|
|
||
|
def main():
|
||
|
#application = App(0)
|
||
|
application = App()
|
||
|
application.MainLoop()
|
||
|
|
||
|
if __name__ == '__main__':
|
||
|
main()
|