]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxGenericDirCtrl.py
mention ShouldInheritColours() change
[wxWidgets.git] / wxPython / demo / wxGenericDirCtrl.py
index 6799b1f93f4d2fd39e536cd9935b809d10214cc3..3af690277ac9e156a0aa1429a3cccd0bb21998f3 100644 (file)
@@ -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])])
+