X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dfef5d5165735ab6c9e1b0bd9c4ece1b6f848f26..19c35fa587f97cf83e2cb28afe76b8db85b36c9f:/wxPython/demo/wxSpinCtrl.py diff --git a/wxPython/demo/wxSpinCtrl.py b/wxPython/demo/wxSpinCtrl.py index f373c82aa0..2e57bca067 100644 --- a/wxPython/demo/wxSpinCtrl.py +++ b/wxPython/demo/wxSpinCtrl.py @@ -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])])