]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/notebook.h
corrected the direction of comparisons between wxString and char/wxChar strings
[wxWidgets.git] / include / wx / cocoa / notebook.h
index 5ba76c2d38f62d68dce3df97be426567257ff071..9ff89def2885294564ff4e85c3448cc8f7a255fb 100644 (file)
@@ -57,11 +57,13 @@ protected:
 public:
     // set the currently selected page, return the index of the previously
     // selected one (or -1 on error)
-    // NB: this function will _not_ generate wxEVT_NOTEBOOK_PAGE_xxx events
     int SetSelection(size_t nPage);
     // get the currently selected page
     int GetSelection() const;
 
+    // changes selected page without sending events
+    int ChangeSelection(size_t nPage);
+
     // set/get the title of a page
     bool SetPageText(size_t nPage, const wxString& strText);
     wxString GetPageText(size_t nPage) const;