// Try the menu's event handler
if ( !processed && GetEventHandler())
{
- processed = GetEventHandler()->ProcessEvent(event);
+ processed = HandleWindowEvent(event);
}
// Try the window the menu was popped up from (and up
// through the hierarchy)
XmNlabelString, label_str(),
NULL);
}
- m_titles[i] = label;
+ m_titles[pos] = label;
}
wxString wxMenuBar::GetMenuLabel(size_t pos) const