]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/choice.mm
fix unused variable warning in release build
[wxWidgets.git] / src / cocoa / choice.mm
index 334444cdcb06d8a33fc0048312c1b6dae64841fb..51e6039a4b561807cbdd23888ddee931b99f1d51 100644 (file)
@@ -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()