]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxChoice.py
added comments to the makefile; added WX_CONFIG var to be able to use a different...
[wxWidgets.git] / wxPython / demo / wxChoice.py
index da6fa7b2a0316f5572d6ba24dd66a5ee22a4f906..d92f4f8e458c058e7e1cbd2a1dd1324046e710dd 100644 (file)
@@ -15,8 +15,7 @@ class TestChoice(wxPanel):
                                wxPoint(15, 10))
 
         wxStaticText(self, -1, "Select one:", wxPoint(15, 50), wxSize(75, 20))
-        self.ch = wxChoice(self, 40, (80, 50), (95, 125),
-                 choices = sampleList)
+        self.ch = wxChoice(self, 40, (80, 50), choices = sampleList)
         EVT_CHOICE(self, 40, self.EvtChoice)
 
 
@@ -47,3 +46,13 @@ def runTest(frame, nb, log):
 overview = """\
 A choice item is used to select one of a list of strings. Unlike a listbox, only the selection is visible until the user pulls down the menu of choices.
 """
+
+
+
+
+
+if __name__ == '__main__':
+    import sys,os
+    import run
+    run.main(['', os.path.basename(sys.argv[0])])
+