]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/menu.cpp
changing code that doesn't work on 10.5 as advertised
[wxWidgets.git] / 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)