]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/OOR.py
Moved some methods/classes inside COMPATIBILITY_2_4.
[wxWidgets.git] / wxPython / demo / OOR.py
index 9b4088fb8d82376664764b43a59b876a900c5977..d58bc42bbdc854714c449fd6d631317bb48e2d3c 100644 (file)
@@ -30,7 +30,7 @@ class TestPanel(wxPanel):
         sizer.Add(btns, 0, wxEXPAND|wxALL, 15)
 
         self.SetSizer(sizer)
-        self.SetAutoLayout(true)
+        self.SetAutoLayout(True)
 
         self.sizer = sizer  # save it for testing later
 
@@ -136,3 +136,12 @@ and the second will show #2 (<i>working as of 2.3.2</i>)
 
 </body></html>
 """
+
+
+
+
+if __name__ == '__main__':
+    import sys,os
+    import run
+    run.main(['', os.path.basename(sys.argv[0])])
+