From: Vadim Zeitlin Date: Fri, 30 Nov 2007 14:30:42 +0000 (+0000) Subject: fix compilation error after r50329: wxMenu doesn't have HandleWindowEvent() as it... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b4d9758e1cdb956c3a1ec88998cfe00f260a05e2 fix compilation error after r50329: wxMenu doesn't have HandleWindowEvent() as it's not a window git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/menu.cpp b/src/mac/carbon/menu.cpp index 01cf83e70e..23e288ea88 100644 --- a/src/mac/carbon/menu.cpp +++ b/src/mac/carbon/menu.cpp @@ -374,7 +374,7 @@ bool wxMenu::ProcessCommand(wxCommandEvent & event) // Try the menu's event handler if ( /* !processed && */ GetEventHandler()) - processed = HandleWindowEvent(event); + processed = GetEventHandler()->SafelyProcessEvent(event); // Try the window the menu was popped up from // (and up through the hierarchy)