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:
Paul Cornett
2014-02-15 18:14:48 +00:00
parent 8d3b203286
commit 3d4213b512

View File

@@ -1547,6 +1547,9 @@ static void SendSetCursorEvent(wxWindow* win, int x, int y)
gs_needCursorResetMap[win] = true;
return;
}
// this is how wxMSW works...
if (w->GetCursor().IsOk())
break;
w = w->GetParent();
} while (w);
if (gs_needCursorResetMap[win])