X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7f555861b7e50f335c7b929bb76be38e9ebd69c5..510d156fc53b19ac7a96ada15475575ded389b50:/src/stubs/notebook.cpp?ds=sidebyside diff --git a/src/stubs/notebook.cpp b/src/stubs/notebook.cpp index 233bc5639b..f7ee49cd5d 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() { @@ -365,3 +375,8 @@ void wxNotebook::ChangePage(int nOldSel, int nSel) m_nSelection = nSel; } +void wxNotebook::SetTabSize(const wxSize& sz) +{ + // TODO +} +