Ensure SIP knows about the item container pure virtuals.

This commit is contained in:
Robin Dunn
2020-12-29 18:11:05 -08:00
parent 23b4d865cf
commit 12db41dad1
8 changed files with 40 additions and 13 deletions

View File

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