X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/48200154f43831be952cf2503a926af333efb2b5..e9e8b38179b147dd04f5c19af7e56a94342e93a7:/include/wx/gtk/notebook.h?ds=sidebyside diff --git a/include/wx/gtk/notebook.h b/include/wx/gtk/notebook.h index 45cb903ea5..cbe01efb5a 100644 --- a/include/wx/gtk/notebook.h +++ b/include/wx/gtk/notebook.h @@ -50,7 +50,7 @@ public: // --------- // set the currently selected page, return the index of the previously - // selected one (or -1 on error) + // selected one (or wxNOT_FOUND on error) // NB: this function will _not_ generate wxEVT_NOTEBOOK_PAGE_xxx events int SetSelection(size_t nPage) { return DoSetSelection(nPage, SetSelection_SendEvent); } // get the currently selected page @@ -110,6 +110,9 @@ public: // common part of all ctors void Init(); + // Called by GTK event handler when the current page is definitely changed. + void GTKOnPageChanged(); + // helper function wxGtkNotebookPage* GetNotebookPage(int page) const;