X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0369a9fedfe4a3c6d7d04be5a6196d83dd7c727a..a7d354c6d75a32033f62b8ecadd837519b35b3ef:/src/msw/window.cpp diff --git a/src/msw/window.cpp b/src/msw/window.cpp index 4d93f44092..da62175805 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -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() )