]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxSlider.py
Removed deprecation warnings in OGL and Gizmos
[wxWidgets.git] / wxPython / demo / wxSlider.py
index 731486ee2b495a9c0aa9e4e20840cc2947600f07..8cce5b131e1ffa2b18ec2fbfceafcd1c43ca3bd7 100644 (file)
@@ -1,8 +1,6 @@
 
 from wxPython.wx import *
 
-import string
-
 #----------------------------------------------------------------------
 
 class TestPanel(wxPanel):
@@ -31,11 +29,13 @@ def runTest(frame, nb, log):
 
 
 
+overview = """\
+"""
 
 
 
+if __name__ == '__main__':
+    import sys,os
+    import run
+    run.main(['', os.path.basename(sys.argv[0])])
 
-
-
-overview = """\
-"""