]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/Choice.py
Added Navigate, SetMinSize, SetMaxSize wxWindow methods
[wxWidgets.git] / wxPython / demo / Choice.py
index 39e2db847a381b7e1eb6f37712b077ad88632cec..2c84c7a1908846353c2764d68388a768ac9fef92 100644 (file)
@@ -1,7 +1,3 @@
-# 11/15/2003 - Jeff Grimmett (grimmtooth@softhome.net)
-#
-# o Updated for wx namespace
-# 
 
 import  wx
 
@@ -17,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)
 
 
@@ -51,10 +47,8 @@ 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:])