]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/notebook.h
support SDK < 10.6, fixes #14902
[wxWidgets.git] / include / wx / cocoa / notebook.h
index 21e6ad3271ce34aeed1a78904cfeae22289f8d38..e158a18fdd287ee22c1b1a43850532de8a48f90f 100644 (file)
@@ -56,7 +56,7 @@ protected:
 // ------------------------------------------------------------------------
 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)
     int SetSelection(size_t nPage);
     // get the currently selected page
     int GetSelection() const;
@@ -97,7 +97,7 @@ public:
                      wxNotebookPage *win,
                      const wxString& strText,
                      bool bSelect = false,
-                     int imageId = -1 );
+                     int imageId = NO_IMAGE );
 
 protected:
 };