- wxLogTrace( wxT("timer"), wxT("notified timer %p sheduled for %ld"),
- desc->timer, (long) desc->shotTime);
+#ifndef __WXMGL__
+ wxLogTrace( wxT("timer"),
+ wxT("notified timer %p sheduled for %") wxLongLongFmtSpec _T("d"),
+ desc->timer, desc->shotTime.GetValue() );
+#endif