'six', 'seven', 'eight']
wx.StaticText(self, -1, "This example uses the wxChoice control.", (15, 10))
- wx.StaticText(self, -1, "Select one:", (15, 50), (75, 20))
- self.ch = wx.Choice(self, -1, (80, 50), choices = sampleList)
+ wx.StaticText(self, -1, "Select one:", (15, 50), (75, -1))
+ self.ch = wx.Choice(self, -1, (100, 50), choices = sampleList)
self.Bind(wx.EVT_CHOICE, self.EvtChoice, self.ch)
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:])