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:
Julian Smart
2006-03-04 18:18:28 +00:00
parent a02debb4c6
commit f350d4b2ee

View File

@@ -2614,9 +2614,10 @@ WXLRESULT wxWindowMSW::MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM l
evtCtx.SetEventObject(this);
if (GetEventHandler()->ProcessEvent(evtCtx))
{
processed = true;
else
return MSWDefWindowProc(message, wParam, lParam);
return true;
}
}
}
#endif