From b4d9758e1cdb956c3a1ec88998cfe00f260a05e2 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 30 Nov 2007 14:30:42 +0000 Subject: [PATCH] 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 --- src/mac/carbon/menu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.50.0