Set Id and EventObject for wxSetCursorEvent

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2010-02-09 01:33:44 +00:00
parent 7313db77a7
commit 564af280f0

View File

@@ -4224,6 +4224,8 @@ bool wxWindowMSW::HandleSetCursor(WXHWND WXUNUSED(hWnd),
y = pt.y;
ScreenToClient(&x, &y);
wxSetCursorEvent event(x, y);
event.SetId(GetId());
event.SetEventObject(this);
bool processedEvtSetCursor = HandleWindowEvent(event);
if ( processedEvtSetCursor && event.HasCursor() )