X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3e97a905185a72c04a7feb67c7885ab4412100ee..8e77fd8bca165aab9709649d79a7cbc6a172d4e1:/include/wx/os2/notebook.h?ds=sidebyside diff --git a/include/wx/os2/notebook.h b/include/wx/os2/notebook.h index 83b964c0bf..82a7601880 100644 --- a/include/wx/os2/notebook.h +++ b/include/wx/os2/notebook.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: notebook.h +// Name: wx/os2/notebook.h // Purpose: MSW/GTK compatible notebook (a.k.a. property sheet) // Author: David Webster // Modified by: @@ -61,7 +61,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); @@ -69,11 +69,6 @@ public: // changes selected page without sending events int ChangeSelection(size_t nPage); - // - // Get the currently selected page - // - inline int GetSelection(void) const { return m_nSelection; } - // // Set/Get the title of a page // @@ -193,8 +188,6 @@ protected: // Helper functions // - int m_nSelection; // The current selection (-1 if none) - private: wxArrayLong m_alPageId; int m_nTabSize; // holds the largest tab size