Use the panel for the combo ctrl’s parent.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2014-01-14 02:35:00 +00:00
parent 16a50d33ca
commit ea390ff6d1

View File

@@ -147,7 +147,7 @@ class TestFrame(wx.Frame):
pnl = wx.Panel(self)
# Create a ComboCtrl
cc = self.cc = wx.ComboCtrl(self, pos=(10,10), size=(275,-1))
cc = self.cc = wx.ComboCtrl(pnl, pos=(10,10), size=(275,-1))
cc.SetHint('Click the button -->')
# Create a Popup