]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stubs/notebook.cpp
Changes to allow Cygwin to compile in non-PCH mode
[wxWidgets.git] / src / stubs / notebook.cpp
index 233bc5639bdefcf428b1fe3f02596772538389ef..312dd0f3d3ae8a62ddf0ac466bb04cd20a4c5aa9 100644 (file)
@@ -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()
 {