X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/493f1553fdfd276ed9944c5f1c070ee34be13b52..258836fa259076b4bda6088fe653218645b2e26d:/wxPython/demo/DialogUnits.py diff --git a/wxPython/demo/DialogUnits.py b/wxPython/demo/DialogUnits.py index eca857897a..78974eb676 100644 --- a/wxPython/demo/DialogUnits.py +++ b/wxPython/demo/DialogUnits.py @@ -88,13 +88,13 @@ if __name__ == "__main__": # Create an instance of our customized Frame class frame = MyFrame(None, -1, "This is a test") - frame.Show(true) + 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 = """\