X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..55f9f0cbc8dcf45f8d484b2f931c5c254d4404d1:/wxPython/demo/DialogUnits.py diff --git a/wxPython/demo/DialogUnits.py b/wxPython/demo/DialogUnits.py index 7f369dd40f..78974eb676 100644 --- a/wxPython/demo/DialogUnits.py +++ b/wxPython/demo/DialogUnits.py @@ -87,14 +87,14 @@ if __name__ == "__main__": def OnInit(self): # Create an instance of our customized Frame class - frame = MyFrame(NULL, -1, "This is a test") - frame.Show(true) + frame = MyFrame(None, -1, "This is a test") + frame.Show(True) # Tell wxWindows that this is our main window self.SetTopWindow(frame) # Return a success flag - return true + return True app = MyApp(0) # Create an instance of the application class @@ -107,7 +107,7 @@ if __name__ == "__main__": def runTest(frame, nb, log): win = MyFrame(frame, -1, "This is a test") frame.otherWin = win - win.Show(true) + win.Show(True) overview = """\