]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/SpinCtrl.py
tweaks for testing
[wxWidgets.git] / wxPython / demo / SpinCtrl.py
index 0104fc1f7a7641a46b41c99ad09f764b3b01f701..327bc1744196705601fbc0db687a89d0df179518 100644 (file)
@@ -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:])