mimic wxMSW wxSetCursorEvent propagation behavior, closes #15801
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@75888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1547,6 +1547,9 @@ static void SendSetCursorEvent(wxWindow* win, int x, int y)
|
|||||||
gs_needCursorResetMap[win] = true;
|
gs_needCursorResetMap[win] = true;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
// this is how wxMSW works...
|
||||||
|
if (w->GetCursor().IsOk())
|
||||||
|
break;
|
||||||
w = w->GetParent();
|
w = w->GetParent();
|
||||||
} while (w);
|
} while (w);
|
||||||
if (gs_needCursorResetMap[win])
|
if (gs_needCursorResetMap[win])
|
||||||
|
Reference in New Issue
Block a user