X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03a2c062211b05c6c3fdcbe255341b181721b3fe..ce50c4d1c61de1b30c32923b35527a54c0c32751:/wxPython/demo/infoframe.py?ds=sidebyside diff --git a/wxPython/demo/infoframe.py b/wxPython/demo/infoframe.py index 99507a6547..7f19771460 100644 --- a/wxPython/demo/infoframe.py +++ b/wxPython/demo/infoframe.py @@ -82,14 +82,14 @@ if __name__ == "__main__": outputWindowClass = wxPyInformationalMessagesFrame def OnInit(self): frame = MyFrame(self.stdioWin) - frame.Show(TRUE) + frame.Show(True) self.SetTopWindow(frame) if isinstance(sys.stdout,wxPyInformationalMessagesFrame): sys.stdout.SetParent(frame) #self.redirectStdio(None)# this is done automatically # by the MyApp(1) call below print "Starting.\n", - return true + return True app = MyApp(1) app.MainLoop()