X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c6c593e88d75fe89320eafddeb547b3c058c34d8..e04fe03d0f0d5cda7f9c2712ed3a65988839002c:/wxPython/demo/wxGenericDirCtrl.py diff --git a/wxPython/demo/wxGenericDirCtrl.py b/wxPython/demo/wxGenericDirCtrl.py index 6799b1f93f..3af690277a 100644 --- a/wxPython/demo/wxGenericDirCtrl.py +++ b/wxPython/demo/wxGenericDirCtrl.py @@ -37,7 +37,7 @@ class TestPanel(wxPanel): sz.AddGrowableCol(1) sz.AddGrowableCol(2) self.SetSizer(sz) - self.SetAutoLayout(true) + self.SetAutoLayout(True) #---------------------------------------------------------------------- @@ -57,3 +57,10 @@ overview = """\ This control can be used to place a directory listing (with optional files) on an arbitrary window. """ + + +if __name__ == '__main__': + import sys,os + import run + run.main(['', os.path.basename(sys.argv[0])]) +