X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..f925f24de8a4e6aa116efed61ab77ec08b686c67:/wxPython/demo/demoMainLoop.py?ds=sidebyside diff --git a/wxPython/demo/demoMainLoop.py b/wxPython/demo/demoMainLoop.py index e671c5c179..78952b464d 100755 --- a/wxPython/demo/demoMainLoop.py +++ b/wxPython/demo/demoMainLoop.py @@ -90,7 +90,7 @@ class MyApp(wxApp): # This inner loop will process any GUI events until there # are no more waiting. - while self.Pending(): + while self.Pending(): self.Dispatch() # Send idle events to idle handlers. You may want to throtle @@ -103,7 +103,7 @@ class MyApp(wxApp): def OnInit(self): - frame = MyFrame(NULL, -1, "This is a test") + frame = MyFrame(None, -1, "This is a test") frame.Show(true) self.SetTopWindow(frame)