diff --git a/src/gtk/window.cpp b/src/gtk/window.cpp index 462f055e11..3ffb66a12d 100644 --- a/src/gtk/window.cpp +++ b/src/gtk/window.cpp @@ -1541,6 +1541,9 @@ static void SendSetCursorEvent(wxWindow* win, int x, int y) win->m_needCursorReset = true; return; } + // this is how wxMSW works... + if (w->GetCursor().IsOk()) + break; w = w->GetParent(); } while (w); if (win->m_needCursorReset)