X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4cae9a20a89d127601f68873681cfdaa7fe484d5..0e878cfcc6486c7903ae89b316bc71700320199d:/src/generic/timer.cpp diff --git a/src/generic/timer.cpp b/src/generic/timer.cpp index 7294f94ee3..259a0ebe0e 100644 --- a/src/generic/timer.cpp +++ b/src/generic/timer.cpp @@ -90,8 +90,8 @@ void wxTimerScheduler::QueueTimer(wxTimerDesc *desc, unsigned long when) desc->shotTime = when; desc->running = TRUE; - wxLogTrace("timer", "queued timer %p at tick %i", - desc->timer, when); + wxLogTrace( wxT("timer"), wxT("queued timer %p at tick %ld"), + desc->timer, (long) when); if ( m_timers ) { @@ -143,8 +143,8 @@ void wxTimerScheduler::NotifyTimers() if ( !timerDeleted ) { - wxLogTrace("timer", "notified timer %p sheduled for %i", - desc->timer, desc->shotTime); + wxLogTrace( wxT("timer"), wxT("notified timer %p sheduled for %ld"), + desc->timer, (long) desc->shotTime); desc->deleteFlag = NULL; if ( !oneShot ) @@ -172,7 +172,7 @@ void wxTimer::Init() wxTimer::~wxTimer() { - wxLogTrace("timer", "destroying timer %p...", this); + wxLogTrace( wxT("timer"), wxT("destroying timer %p..."), this); if ( IsRunning() ) Stop(); @@ -184,7 +184,7 @@ wxTimer::~wxTimer() *m_desc->deleteFlag = TRUE; delete m_desc; - wxLogTrace("timer", " ...done destroying timer %p...", this); + wxLogTrace( wxT("timer"), wxT(" ...done destroying timer %p..."), this); } bool wxTimer::IsRunning() const @@ -194,7 +194,7 @@ bool wxTimer::IsRunning() const bool wxTimer::Start(int millisecs, bool oneShot) { - wxLogTrace("timer", "started timer %p: %i ms, oneshot=%i", + wxLogTrace( wxT("timer"), wxT("started timer %p: %i ms, oneshot=%i"), this, millisecs, oneShot); if ( !wxTimerBase::Start(millisecs, oneShot) )