]> git.saurik.com Git - wxWidgets.git/commitdiff
layout tweak (it should use a sizer though)
authorRobin Dunn <robin@alldunn.com>
Wed, 16 Jun 2004 03:29:33 +0000 (03:29 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 16 Jun 2004 03:29:33 +0000 (03:29 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/demo/Choice.py

index 2c84c7a1908846353c2764d68388a768ac9fef92..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, (90, 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)