diff --git a/src/gtk/evtloop.cpp b/src/gtk/evtloop.cpp index 9e7a2f44d2..7a2a98c4ef 100644 --- a/src/gtk/evtloop.cpp +++ b/src/gtk/evtloop.cpp @@ -385,16 +385,19 @@ void wxGUIEventLoop::DoYieldFor(long eventsToProcess) wxEventLoopBase::DoYieldFor(eventsToProcess); - // put all unprocessed GDK events back in the queue - GdkDisplay* disp = gdk_window_get_display(wxGetTopLevelGDK()); - for (size_t i=0; i