Declare DeleteAllPages in the notebook subclasses, so the proper C++

implementation will be called.
This commit is contained in:
Robin Dunn
2018-09-27 20:43:56 -07:00
parent 764a0ef788
commit 4fd95b39b1
2 changed files with 4 additions and 0 deletions

View File

@@ -89,6 +89,9 @@ Changes in this release include the following:
positioning the Window (a small image) on the left of text in a
CustomTreeItem. (#PR886).
* Declared DeleteAllPages in the notebook subclasses, so the proper C++
implementation will be called. (#972)

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: