]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxFrame.py
fix text scrolling in GTK2 (patch 703988)
[wxWidgets.git] / wxPython / demo / wxFrame.py
index 3eac8d119cf86e3a31c1984052a48c55ab1934f6..6fbc2d013f796afe51b97a111308b38e88f0d823 100644 (file)
@@ -16,7 +16,7 @@ class MyFrame(wxFrame):
 
 
     def OnCloseMe(self, event):
-        self.Close(true)
+        self.Close(True)
 
     def OnCloseWindow(self, event):
         self.Destroy()
@@ -27,7 +27,7 @@ def runTest(frame, nb, log):
     win = MyFrame(frame, -1, "This is a wxFrame", size=(350, 200),
                   style = wxDEFAULT_FRAME_STYLE)# |  wxFRAME_TOOL_WINDOW )
     frame.otherWin = win
-    win.Show(true)
+    win.Show(True)
 
 
 #---------------------------------------------------------------------------
@@ -43,3 +43,12 @@ def runTest(frame, nb, log):
 
 overview = """\
 """
+
+
+
+
+if __name__ == '__main__':
+    import sys,os
+    import run
+    run.main(['', os.path.basename(sys.argv[0])])
+