X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/53a2db124c633f80bdb16336084262037d879a2c..3931f3ecc1f28731ea4488b9577242e0dade3ec7:/include/wx/os2/notebook.h diff --git a/include/wx/os2/notebook.h b/include/wx/os2/notebook.h index 3c94de27a7..405b1d2f0e 100644 --- a/include/wx/os2/notebook.h +++ b/include/wx/os2/notebook.h @@ -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 // @@ -155,7 +150,7 @@ public: // --------- // void OnSize(wxSizeEvent& rEvent); - void OnSelChange(wxNotebookEvent& rEvent); + void OnSelChange(wxBookCtrlEvent& rEvent); void OnSetFocus(wxFocusEvent& rEvent); void OnNavigationKey(wxNavigationKeyEvent& rEvent); @@ -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