summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
66cb53f)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23067
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// remove one page from the notebook, without deleting the page.
bool RemovePage(size_t nPage);
bool RemovePage(wxNotebookPage* page);
// remove one page from the notebook, without deleting the page.
bool RemovePage(size_t nPage);
bool RemovePage(wxNotebookPage* page);
+ virtual wxWindow* DoRemovePage(size_t nPage);
+
// remove all pages
bool DeleteAllPages();
// the same as AddPage(), but adds it at the specified position
// remove all pages
bool DeleteAllPages();
// the same as AddPage(), but adds it at the specified position
-// remove one page from the notebook
bool wxNotebook::RemovePage(size_t nPage)
bool wxNotebook::RemovePage(size_t nPage)
+{
+ return DoRemovePage(nPage) != NULL;
+}
+
+// remove one page from the notebook
+wxWindow* wxNotebook::DoRemovePage(size_t nPage)
{
wxCHECK( IS_VALID_PAGE(nPage), FALSE );
{
wxCHECK( IS_VALID_PAGE(nPage), FALSE );
}
bool wxNotebook::RemovePage(wxNotebookPage* page)
}
bool wxNotebook::RemovePage(wxNotebookPage* page)