]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/Layoutf.py
fix text scrolling in GTK2 (patch 703988)
[wxWidgets.git] / wxPython / demo / Layoutf.py
index e5809b60c5459c4f84cfa20972a0e913513e569c..b92faffedab377b1fe8ef5575bb9ce890ca315be 100644 (file)
@@ -8,7 +8,7 @@ class TestLayoutf(wxPanel):
     def __init__(self, parent):
         wxPanel.__init__(self, parent, -1)
 
-        self.SetAutoLayout(true)
+        self.SetAutoLayout(True)
         EVT_BUTTON(self, 100, self.OnButton)
 
         self.panelA = wxWindow(self, -1, wxPyDefaultPosition, wxPyDefaultSize, wxSIMPLE_BORDER)
@@ -60,3 +60,12 @@ def runTest(frame, nb, log):
 
 
 overview = Layoutf.__doc__
+
+
+
+
+if __name__ == '__main__':
+    import sys,os
+    import run
+    run.main(['', os.path.basename(sys.argv[0])])
+