]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/timer.cpp
Use wxLogTrace instead of wxLogDebug
[wxWidgets.git] / src / generic / timer.cpp
index b2a1e92e016a38fe96994d4cf4a355fb13eeddb0..f38b03600e21fe53883435e96077bbfa8a3358a7 100644 (file)
@@ -91,8 +91,9 @@ 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);
+    wxLogTrace( wxT("timer"),
+                wxT("queued timer %p at tick %") wxLongLongFmtSpec _T("d"), 
+               desc->timer,  when.GetValue());
 
     if ( m_timers )
     {
@@ -145,8 +146,8 @@ void wxTimerScheduler::NotifyTimers()
             if ( !timerDeleted )
             {
                 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() );
 
                 desc->deleteFlag = NULL;
                 if ( !oneShot )