X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f7bdcdd70dc6e74e35185559e1c2ff2cac3e9e6e..4df78dc36e933fb1c3aa7c9d7ae2757a898ae05c:/src/gtk/cursor.cpp diff --git a/src/gtk/cursor.cpp b/src/gtk/cursor.cpp index 9335e8c837..7a47bd6bd9 100644 --- a/src/gtk/cursor.cpp +++ b/src/gtk/cursor.cpp @@ -13,6 +13,7 @@ #endif #include "wx/cursor.h" +#include "wx/utils.h" #include "gdk/gdk.h" @@ -157,6 +158,8 @@ void wxEndBusyCursor() wxSetCursor( gs_savedCursor ); gs_savedCursor = wxNullCursor; + + wxYield(); } void wxBeginBusyCursor( wxCursor *WXUNUSED(cursor) ) @@ -170,6 +173,8 @@ void wxBeginBusyCursor( wxCursor *WXUNUSED(cursor) ) gs_savedCursor = g_globalCursor; wxSetCursor( wxCursor(wxCURSOR_WATCH) ); + + wxYield(); } bool wxIsBusy()