X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7f555861b7e50f335c7b929bb76be38e9ebd69c5..ad5c34f309074eefe625b82e1203eec5b91247f5:/src/stubs/notebook.cpp diff --git a/src/stubs/notebook.cpp b/src/stubs/notebook.cpp index 233bc5639b..312dd0f3d3 100644 --- a/src/stubs/notebook.cpp +++ b/src/stubs/notebook.cpp @@ -202,6 +202,16 @@ bool wxNotebook::DeletePage(int nPage) return TRUE; } +// remove one page from the notebook, without deleting the window +bool wxNotebook::RemovePage(int nPage) +{ + wxCHECK( IS_VALID_PAGE(nPage), FALSE ); + + m_aPages.Remove(nPage); + + return TRUE; +} + // remove all pages bool wxNotebook::DeleteAllPages() {