From aac2fa1f5b1f2cd11c6daa40d58df4c57133da8c Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Mon, 18 Aug 2014 17:02:53 +0000 Subject: [PATCH] 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 --- src/gtk/window.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gtk/window.cpp b/src/gtk/window.cpp index 62c69a9490..128b6165c9 100644 --- a/src/gtk/window.cpp +++ b/src/gtk/window.cpp @@ -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; }