// 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)