X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..848332140be2d53aea32d0702f4c0e06c149d24b:/include/wx/gtk/notebook.h diff --git a/include/wx/gtk/notebook.h b/include/wx/gtk/notebook.h index d3111df808..9724afdb11 100644 --- a/include/wx/gtk/notebook.h +++ b/include/wx/gtk/notebook.h @@ -79,7 +79,7 @@ public: // remove all pages bool DeleteAllPages(); - // adds a new page to the notebook (it will be deleted ny the notebook, + // adds a new page to the notebook (it will be deleted by the notebook, // don't delete it yourself). If bSelect, this page becomes active. // the same as AddPage(), but adds it at the specified position bool InsertPage( size_t position, @@ -103,10 +103,6 @@ public: void SetConstraintSizes(bool recurse); bool DoPhase(int phase); #endif - - // set all page's attributes - void DoApplyWidgetStyle(GtkRcStyle *style); - // report if window belongs to notebook bool IsOwnGtkWindow( GdkWindow *window ); @@ -127,6 +123,9 @@ public: bool m_inSwitchPage; protected: + // set all page's attributes + void DoApplyWidgetStyle(GtkRcStyle *style); + // remove one page from the notebook but do not destroy it virtual wxNotebookPage *DoRemovePage(size_t nPage);