X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/496e7ec6475277246a75bcec98a6ddd5ca4cde84..345ff9c65b3ef17709785708b224dfcbf5135583:/src/gtk/notebook.cpp diff --git a/src/gtk/notebook.cpp b/src/gtk/notebook.cpp index 1ace65dc16..4802f31fcd 100644 --- a/src/gtk/notebook.cpp +++ b/src/gtk/notebook.cpp @@ -357,7 +357,7 @@ wxNotebookPage *wxNotebook::DoRemovePage( size_t page ) wxGtkNotebookPage* p = GetNotebookPage(page); m_pagesData.DeleteObject(p); delete p; - + return client; } @@ -373,7 +373,7 @@ bool wxNotebook::InsertPage( size_t position, wxT("Can't add a page whose parent is not the notebook!") ); wxCHECK_MSG( position <= GetPageCount(), false, - _T("invalid page index in wxNotebookPage::InsertPage()") ); + wxT("invalid page index in wxNotebookPage::InsertPage()") ); // Hack Alert! (Part II): See above in wxNotebook::AddChildGTK // why this has to be done.