X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/324dbfec39cc030027830a100239cb9a4e6624e8..910484a67ddd6eac7c2ec947fc9e2e71f95abb6e:/src/gtk1/window.cpp?ds=sidebyside diff --git a/src/gtk1/window.cpp b/src/gtk1/window.cpp index 85c6fd6c76..c61a2a2c67 100644 --- a/src/gtk1/window.cpp +++ b/src/gtk1/window.cpp @@ -2213,6 +2213,8 @@ void wxWindow::OnInternalIdle() if (cursor.Ok() && m_currentGdkCursor != cursor) { + m_currentGdkCursor = cursor; + if (m_wxwindow) { GdkWindow *window = m_wxwindow->window; @@ -2232,8 +2234,6 @@ void wxWindow::OnInternalIdle() if (window) gdk_window_set_cursor( window, cursor.GetCursor() ); } - - m_currentGdkCursor = cursor; } UpdateWindowUI();