fix use of stack variable after it has gone out of scope, closes #16423

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@77082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2014-08-18 17:02:53 +00:00
parent 7a9065190f
commit aac2fa1f5b

View File

@@ -1552,6 +1552,7 @@ static void SendSetCursorEvent(wxWindowGTK* win, int x, int y)
{
gs_overrideCursor = &event.GetCursor();
win->GTKUpdateCursor();
gs_overrideCursor = NULL;
gs_needCursorResetMap[win] = true;
return;
}