X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e38b6ea8d2ac63eab0a3a43503d5668c7fde5c42..f74172ab4256c9e7c665e44e2f94ce12bf84a37f:/src/generic/timer.cpp?ds=sidebyside diff --git a/src/generic/timer.cpp b/src/generic/timer.cpp index b2a1e92e01..46fbe6a0c3 100644 --- a/src/generic/timer.cpp +++ b/src/generic/timer.cpp @@ -91,8 +91,11 @@ void wxTimerScheduler::QueueTimer(wxTimerDesc *desc, wxTimerTick_t when) desc->shotTime = when; desc->running = TRUE; - wxLogTrace( wxT("timer"), wxT("queued timer %p at tick %ld"), - desc->timer, (long) when); +#ifndef __WXMGL__ + wxLogTrace( wxT("timer"), + wxT("queued timer %p at tick %") wxLongLongFmtSpec _T("d"), + desc->timer, when.GetValue()); +#endif if ( m_timers ) { @@ -144,9 +147,11 @@ void wxTimerScheduler::NotifyTimers() if ( !timerDeleted ) { +#ifndef __WXMGL__ wxLogTrace( wxT("timer"), - wxT("notified timer %p sheduled for %" wxLongLongFmtSpec), - desc->timer, desc->shotTime ); + wxT("notified timer %p sheduled for %") wxLongLongFmtSpec _T("d"), + desc->timer, desc->shotTime.GetValue() ); +#endif desc->deleteFlag = NULL; if ( !oneShot )