]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/infoframe.py
Added stub for wxIcon(const char **xpm)
[wxWidgets.git] / wxPython / demo / infoframe.py
index 99507a654725318a571c4d1e8ca9353570f494bf..7f197714606378acc0853cad929657e980bb1904 100644 (file)
@@ -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()