Reuse wxBookCtrlBase::DeleteAllPages() in wxNotebook
Don't duplicate the base class code unnecessarily. No real changes.
This commit is contained in:
@@ -586,7 +586,6 @@ bool wxNotebook::DeleteAllPages()
|
||||
|
||||
wxASSERT_MSG( GetPageCount() == 0, wxT("all pages must have been deleted") );
|
||||
|
||||
InvalidateBestSize();
|
||||
return wxNotebookBase::DeleteAllPages();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user