desc->shotTime = when;
desc->running = TRUE;
- wxLogTrace("timer", "queued timer %p at tick %ld",
+ wxLogTrace( wxT("timer"), wxT("queued timer %p at tick %ld"),
desc->timer, (long) when);
if ( m_timers )
if ( !timerDeleted )
{
- wxLogTrace("timer", "notified timer %p sheduled for %ld",
+ wxLogTrace( wxT("timer"), wxT("notified timer %p sheduled for %ld"),
desc->timer, (long) desc->shotTime);
desc->deleteFlag = NULL;
wxTimer::~wxTimer()
{
- wxLogTrace("timer", "destroying timer %p...", this);
+ wxLogTrace( wxT("timer"), wxT("destroying timer %p..."), this);
if ( IsRunning() )
Stop();
*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
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) )