Ensure wx.Notebook (and other bookctrls) declare all the base virtual methods

This commit is contained in:
Robin Dunn
2017-09-05 16:32:40 -07:00
parent fa2d9c0cb2
commit 678d6d897f
5 changed files with 35 additions and 33 deletions

View File

@@ -37,12 +37,7 @@ def run():
c.find('OnSelChange').ignore()
tools.fixWindowClass(c)
# Let SIP know about other virtual methods that may be implemented here
c.addItem(etgtools.WigCode("""\
virtual bool DeleteAllPages();
"""))
tools.fixBookctrlClass(c)
module.addGlobalStr('wxNotebookNameStr', c)