X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/848332140be2d53aea32d0702f4c0e06c149d24b..3b38e2a022d97b2afae69cb5f322f96a6a0140f3:/src/gtk/app.cpp diff --git a/src/gtk/app.cpp b/src/gtk/app.cpp index 1614d6c5f5..987ce870f2 100644 --- a/src/gtk/app.cpp +++ b/src/gtk/app.cpp @@ -248,11 +248,11 @@ static gint wxapp_idle_callback( gpointer WXUNUSED(data) ) wxTheApp->m_idleTag = 0; } - bool moreIdles = false; + bool moreIdles; // Send idle event to all who request them as long as // no events have popped up in the event queue. - while (moreIdles = wxTheApp->ProcessIdle() && (gtk_events_pending() == 0)) + while ( (moreIdles = wxTheApp->ProcessIdle()) && gtk_events_pending() == 0) ; // Release lock again