]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/menu.cpp
moved win_gtk.h header to wx/gtk/private, it's for internal use only
[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())
 
     // 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)
 
     // Try the window the menu was popped up from
     // (and up through the hierarchy)