mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-06 03:50:06 +01:00
Ensure SIP knows about the item container pure virtuals.
This commit is contained in:
@@ -15,7 +15,11 @@ class TestPanel(wx.Panel):
|
||||
|
||||
wx.StaticText(self, -1, "This example uses the wxCheckListBox control.", (45, 15))
|
||||
|
||||
lb = wx.CheckListBox(self, -1, (80, 50), wx.DefaultSize, sampleList)
|
||||
lb = wx.CheckListBox(self, -1, (80, 50)) #, choices=sampleList)
|
||||
for txt in sampleList:
|
||||
lb.Append(txt)
|
||||
|
||||
lb.SetSize(lb.GetBestSize())
|
||||
self.Bind(wx.EVT_LISTBOX, self.EvtListBox, lb)
|
||||
self.Bind(wx.EVT_CHECKLISTBOX, self.EvtCheckListBox, lb)
|
||||
lb.SetSelection(0)
|
||||
|
||||
Reference in New Issue
Block a user