]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/Choice.py
Don't decref if the interpreter is not initialized, (eg. it's in its
[wxWidgets.git] / wxPython / demo / Choice.py
index 35b02b312abdb09decb15afa2017cacbbdbc7add..ef9db235b8758ecebcd1a79b531b79630766f1df 100644 (file)
@@ -12,8 +12,8 @@ class TestChoice(wx.Panel):
                       '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)