]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/timer.cpp
set selection before setting focus to the control in SetFocusFromKbd() (patch 726361)
[wxWidgets.git] / src / generic / timer.cpp
index f38b03600e21fe53883435e96077bbfa8a3358a7..46fbe6a0c38598f7e7b2b8fc23e399f28f9ae31a 100644 (file)
@@ -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 )