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:
@@ -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() )
|
||||
|
Reference in New Issue
Block a user