X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/927f01da61023feace026942d369b4c5b80664da..6af984df34c71bc14648a7b5bf1ad3c3cd07fc05:/src/motif/menu.cpp diff --git a/src/motif/menu.cpp b/src/motif/menu.cpp index 81ce9a4e00..ed09c4e47d 100644 --- a/src/motif/menu.cpp +++ b/src/motif/menu.cpp @@ -167,7 +167,7 @@ bool wxMenu::ProcessCommand(wxCommandEvent & event) // 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)