]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/notebook.mm
Store menus titles in menus themselves in wxOSX.
[wxWidgets.git] / src / cocoa / notebook.mm
index 8291868fab49fa53ceaa06de431cd76674bf0fd5..1b1fd296fdaacbb886e881de3bc9f55bf5a1a478 100644 (file)
@@ -301,7 +301,7 @@ int wxNotebook::GetSelection() const
 {
     NSTabViewItem *selectedItem = [GetNSTabView() selectedTabViewItem];
     if(!selectedItem)
-        return -1;
+        return wxNOT_FOUND;
     return [GetNSTabView() indexOfTabViewItem:selectedItem];
 }