]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/Choice.py
Patch [ 971542 ] Tiny speedup for stc2wx in PlatWX.cpp
[wxWidgets.git] / wxPython / demo / Choice.py
index afa3ac12647a7e2c8a0de3c336683667b8b390de..2c84c7a1908846353c2764d68388a768ac9fef92 100644 (file)
@@ -13,7 +13,7 @@ class TestChoice(wx.Panel):
 
         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)
+        self.ch = wx.Choice(self, -1, (90, 50), choices = sampleList)
         self.Bind(wx.EVT_CHOICE, self.EvtChoice, self.ch)
 
 
@@ -50,5 +50,5 @@ The number of choices and the choice array are consilidated into one python
 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:])