X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ee9768c9e0a3ec35452e8f153dcacec423d6a358..f3291a824a192f7d672ff9e52aef5987b8795a34:/src/generic/timer.cpp?ds=sidebyside diff --git a/src/generic/timer.cpp b/src/generic/timer.cpp index f38b03600e..a4afe39e25 100644 --- a/src/generic/timer.cpp +++ b/src/generic/timer.cpp @@ -7,7 +7,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "timer.h" #endif @@ -91,9 +91,11 @@ void wxTimerScheduler::QueueTimer(wxTimerDesc *desc, wxTimerTick_t when) desc->shotTime = when; desc->running = TRUE; +#ifndef __WXMGL__ wxLogTrace( wxT("timer"), wxT("queued timer %p at tick %") wxLongLongFmtSpec _T("d"), desc->timer, when.GetValue()); +#endif if ( m_timers ) { @@ -145,9 +147,11 @@ void wxTimerScheduler::NotifyTimers() if ( !timerDeleted ) { +#ifndef __WXMGL__ wxLogTrace( wxT("timer"), wxT("notified timer %p sheduled for %") wxLongLongFmtSpec _T("d"), desc->timer, desc->shotTime.GetValue() ); +#endif desc->deleteFlag = NULL; if ( !oneShot )