X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..a92b0cfd2bd0bef75b43c071df0b0e028f360d8e:/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)