fix compilation error after r50329: wxMenu doesn't have HandleWindowEvent() as it's not a window

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-11-30 14:30:42 +00:00
parent f896f240a8
commit b4d9758e1c

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