]> git.saurik.com Git - wxWidgets.git/commitdiff
fix compilation error after r50329: wxMenu doesn't have HandleWindowEvent() as it...
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 30 Nov 2007 14:30:42 +0000 (14:30 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 30 Nov 2007 14:30:42 +0000 (14:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/menu.cpp

index 01cf83e70ede702d385bd2385920442d67fc2a69..23e288ea882c407fef1575cf6a0798b730ecf068 100644 (file)
@@ -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)