X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/95bfd958bda8955ac81277c78e5627c926154f39..d0ee33f5c6908b4ac5e1364381f0ef00942e3936:/wxPython/demo/SpinCtrl.py diff --git a/wxPython/demo/SpinCtrl.py b/wxPython/demo/SpinCtrl.py index 0104fc1f7a..327bc17441 100644 --- a/wxPython/demo/SpinCtrl.py +++ b/wxPython/demo/SpinCtrl.py @@ -10,7 +10,7 @@ class TestPanel(wx.Panel): self.count = 0 wx.StaticText(self, -1, "This example uses the wx.SpinCtrl control.", (45, 15)) - sc = wx.SpinCtrl(self, -1, "", (30, 50), (80, -1)) + sc = wx.SpinCtrl(self, -1, "", (30, 50)) sc.SetRange(1,100) sc.SetValue(5) @@ -42,4 +42,4 @@ range is supported. if __name__ == '__main__': import sys,os import run - run.main(['', os.path.basename(sys.argv[0])]) + run.main(['', os.path.basename(sys.argv[0])] + sys.argv[1:])