X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2aab8f16ac7200349b41af957396029c176a9b9d..3d7a4fe81fa69e9c518a62174ef584bdbb6af7c3:/wxPython/demo/OOR.py diff --git a/wxPython/demo/OOR.py b/wxPython/demo/OOR.py index 9b4088fb8d..d58bc42bbd 100644 --- a/wxPython/demo/OOR.py +++ b/wxPython/demo/OOR.py @@ -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 (working as of 2.3.2) """ + + + + +if __name__ == '__main__': + import sys,os + import run + run.main(['', os.path.basename(sys.argv[0])]) +