If context menu not handled, treat as left click instead.
If handled, don't send a left click event. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2614,9 +2614,10 @@ WXLRESULT wxWindowMSW::MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM l
|
|||||||
|
|
||||||
evtCtx.SetEventObject(this);
|
evtCtx.SetEventObject(this);
|
||||||
if (GetEventHandler()->ProcessEvent(evtCtx))
|
if (GetEventHandler()->ProcessEvent(evtCtx))
|
||||||
|
{
|
||||||
processed = true;
|
processed = true;
|
||||||
else
|
return true;
|
||||||
return MSWDefWindowProc(message, wParam, lParam);
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user