]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/viewer_basics.py
focus setting must be possible even when not shown yet
[wxWidgets.git] / wxPython / demo / viewer_basics.py
index 1dca97130dd2f77d67cfe2dc165a42cd1d49251c..7916c1bce2be3533d12f50982fc6e5616c632d47 100644 (file)
@@ -59,11 +59,11 @@ class SecondThreadApp(wxApp):
         catcher = HiddenCatcher()
         #self.SetTopWindow(catcher)
         self.catcher =catcher
-        return true
+        return True
 
 #---------------------------------------------------------------------------
 
 def add_cone():
    frame = VtkFrame(None, -1, "Cone")
-   frame.Show(true)
+   frame.Show(True)