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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user