]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxSpinCtrl.py
Lots of demo tweaks for API updates, bug fixes and new images for the
[wxWidgets.git] / wxPython / demo / wxSpinCtrl.py
index 7729b88b5d3fadd32cf9eebe43324f68c2372ded..2e57bca067124538ab8cbe84bfb6ef0210977e44 100644 (file)
@@ -1,8 +1,6 @@
 
 from wxPython.wx import *
 
-import string
-
 #----------------------------------------------------------------------
 
 class TestPanel(wxPanel):
@@ -17,6 +15,7 @@ class TestPanel(wxPanel):
         sc = wxSpinCtrl(self, -1, "", wxPoint(30, 50), wxSize(80, -1))
         sc.SetRange(1,100)
         sc.SetValue(5)
+        #sc.Enable(False)
 
 
 #----------------------------------------------------------------------
@@ -35,3 +34,12 @@ def runTest(frame, nb, log):
 
 overview = """\
 """
+
+
+
+
+
+if __name__ == '__main__':
+    import sys,os
+    import run
+    run.main(['', os.path.basename(sys.argv[0])])