X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9814d926198c75333d972f408fa527f84e9355d3..6493aacaeb7b22b9fa35c559f7753e9fec0da71f:/src/generic/timer.cpp diff --git a/src/generic/timer.cpp b/src/generic/timer.cpp index 63fe3a3e9f..a67016706f 100644 --- a/src/generic/timer.cpp +++ b/src/generic/timer.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma implementation "timer.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -194,7 +190,11 @@ void wxTimerScheduler::NotifyTimers() QueueTimer(desc, now + desc->timer->GetInterval()); } else + { desc = m_timers; + if (!desc) + break; + } } } }