X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9c67cbec021bf8d96c428b9f376b08a851c0864b..71aba8333cc915afff9e740c944f7fa7247abacb:/wxPython/demo/wxMDIWindows.py diff --git a/wxPython/demo/wxMDIWindows.py b/wxPython/demo/wxMDIWindows.py index 91d7a55eb0..9df21dc221 100644 --- a/wxPython/demo/wxMDIWindows.py +++ b/wxPython/demo/wxMDIWindows.py @@ -18,7 +18,7 @@ class TestPanel(wxPanel): box.Add(20, 30) box.Add(b1, 0, wxALIGN_CENTER|wxALL, 15) box.Add(b2, 0, wxALIGN_CENTER|wxALL, 15) - self.SetAutoLayout(true) + self.SetAutoLayout(True) self.SetSizer(box) @@ -52,3 +52,12 @@ it. Here are a couple samples of how to use it. """ + + + + + +if __name__ == '__main__': + import sys,os + import run + run.main(['', os.path.basename(sys.argv[0])])