X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..bfdc04a9bb95e6865570d59192718052b6229221:/wxPython/demo/Layoutf.py diff --git a/wxPython/demo/Layoutf.py b/wxPython/demo/Layoutf.py index e5809b60c5..b92faffeda 100644 --- a/wxPython/demo/Layoutf.py +++ b/wxPython/demo/Layoutf.py @@ -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])]) +