X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b1294ada8e87725409f290328da02306e5c8f4eb..2ac47b9e4b630d833453e3b0e1085f97d462e098:/src/cocoa/choice.mm?ds=sidebyside diff --git a/src/cocoa/choice.mm b/src/cocoa/choice.mm index 334444cdcb..51e6039a4b 100644 --- a/src/cocoa/choice.mm +++ b/src/cocoa/choice.mm @@ -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()