layout tweak (it should use a sizer though)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2004-06-16 03:29:33 +00:00
parent ebd7cc3ae8
commit 10b12f715e

View 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)