]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxSpinCtrl.py
added comments to the makefile; added WX_CONFIG var to be able to use a different...
[wxWidgets.git] / wxPython / demo / wxSpinCtrl.py
index f373c82aa03f13d69fa35c0f91449101452ef5d5..2e57bca067124538ab8cbe84bfb6ef0210977e44 100644 (file)
@@ -1,8 +1,6 @@
 
 from wxPython.wx import *
 
-import string
-
 #----------------------------------------------------------------------
 
 class TestPanel(wxPanel):
@@ -17,7 +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)
+        #sc.Enable(False)
 
 
 #----------------------------------------------------------------------
@@ -36,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])])