fixed idle event generation logic (thanks to Paul Cornett for patch 1444602)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user