]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/osx/notebook.h
No real changes, just replace -1 with wxNOT_FOUND in wxBookCtrl code.
[wxWidgets.git] / include / wx / osx / notebook.h
index 3be36587add0bd504bffe96c82d37f973609f0b0..04adb74a1aa5e215e51bb57555febb25eae1d06e 100644 (file)
@@ -55,7 +55,7 @@ public:
   // accessors
   // ---------
     // 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