X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..3dc0174140ffc52a08fd5b64cf839babad09e5cf:/wxPython/demo/demoMainLoop.py 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)