]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxChoice.py
Change demo to not try to drop the table when it thinks it is creating it for the...
[wxWidgets.git] / wxPython / demo / wxChoice.py
index 55ddbb5ebf9f20866364d174bf1c01df6060139a..20b706694b86c8b5ff12e9c854fc3c668a213495 100644 (file)
@@ -15,8 +15,8 @@ class TestChoice(wxPanel):
                                wxPoint(15, 10))
 
         wxStaticText(self, -1, "Select one:", wxPoint(15, 50), wxSize(75, 20))
-        wxChoice(self, 40, wxPoint(80, 50), wxSize(95, 20), #wxDefaultSize,
-                 sampleList)
+        wxChoice(self, 40, (80, 50), (95, 125),
+                 choices = sampleList)
         EVT_CHOICE(self, 40, self.EvtChoice)
 
     def EvtChoice(self, event):