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)
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:])