Anyone know why the first tutorial:
from wxPython.wx import *
class MyApp(wxApp):
def OnInit(self):
frame = wxFrame(NULL, -1, "Hello from wxPython")
frame.Show(true)
self.SetTopWindow(frame)
return true
app = MyApp(0)
app.MainLoop()
should fail with the following message:
09:21:32 AM: Debug: c:\Projects\src\msw\app.cpp(535): 'UnregisterClass)' failed with error 0x000000584 (class still has open windows.).
09:21:32 AM:
09:21:32 AM: