Merge pull request #1022 from RobinD42/fix-issue972

Declare DeleteAllPages in the notebook subclasses

(cherry picked from commit 4b0f0e82c2)
This commit is contained in:
Robin Dunn
2018-09-28 12:11:32 +08:00
parent b4361e21dc
commit 41be300c46
2 changed files with 4 additions and 0 deletions

View File

@@ -338,6 +338,7 @@ def fixBookctrlClass(klass):
("ChangeSelection", "virtual int ChangeSelection(size_t page);"),
("HitTest", "virtual int HitTest(const wxPoint& pt, long* flags /Out/ = NULL) const;"),
("InsertPage", "virtual bool InsertPage(size_t index, wxWindow * page, const wxString & text, bool select = false, int imageId = NO_IMAGE);"),
("DeleteAllPages", "virtual bool DeleteAllPages();")
]
for name, decl in methods: