]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/choice.mm
No real changes, just replace -1 with wxNOT_FOUND in wxBookCtrl code.
[wxWidgets.git] / src / cocoa / choice.mm
index 334444cdcb06d8a33fc0048312c1b6dae64841fb..30c9dab74ae2887a66e4450a141f81d85d6a74db 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     2003/03/16
 // Id:          $Id$
 // Copyright:   (c) 2003 David Elliott
-// Licence:     wxWidgets licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #include "wx/wxprec.h"
@@ -122,7 +122,7 @@ void wxChoice::CocoaNotification_menuDidSendAction(WX_NSNotification notificatio
     event.SetInt(index);
     event.SetEventObject(this);
     event.SetString(GetStringSelection());
-    GetEventHandler()->ProcessEvent(event);
+    HandleWindowEvent(event);
 }
 
 void wxChoice::DoClear()