Reuse wxBookCtrlBase::DeleteAllPages() in wxNotebook

Don't duplicate the base class code unnecessarily.

No real changes.
This commit is contained in:
Vadim Zeitlin
2018-03-25 00:33:21 +01:00
parent 96f9a12898
commit 3d37b8c72a
3 changed files with 3 additions and 13 deletions

View File

@@ -586,7 +586,6 @@ bool wxNotebook::DeleteAllPages()
wxASSERT_MSG( GetPageCount() == 0, wxT("all pages must have been deleted") );
InvalidateBestSize();
return wxNotebookBase::DeleteAllPages();
}