Originally posted by bartonc
Class MyaApp is as follows:
Code:
class MyApp(wx.App):
# wxWindows calls this method to initialize the application
def OnInit(self, operator=None):
# Create an instance of our customized Frame class
frame = MyFrame(None, -1, "PetShopTest")
frame.Show(1)
# and let wxWindows know that is our main window...
self.SetTopWindow(frame)
# we need to return a success flag (to keep wxWindows happy)...
return 1
Comment