no real changes, just use HandleWindowEvent() instead of GetEventHandler()->SafelyProcessEvent() in the last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -465,7 +465,7 @@ bool wxMenuBase::SendEvent(int id, int checked)
|
||||
wxWindow *win = menu->GetInvokingWindow();
|
||||
if ( win )
|
||||
{
|
||||
processed = win->GetEventHandler()->SafelyProcessEvent(event);
|
||||
processed = win->HandleWindowEvent(event);
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user