#if wxUSE_LONGLONG
return usec.ToString();
#else // wxUsecClock_t == double
- return wxString::Format(_T("%.0f"), usec);
+ return wxString::Format(wxT("%.0f"), usec);
#endif
}
for ( node = m_timers.begin(); node != m_timers.end(); ++node )
{
wxASSERT_MSG( (*node)->m_timer != s->m_timer,
- _T("adding the same timer twice?") );
+ wxT("adding the same timer twice?") );
if ( (*node)->m_expiration > s->m_expiration )
break;
}
}
- wxFAIL_MSG( _T("removing inexistent timer?") );
+ wxFAIL_MSG( wxT("removing inexistent timer?") );
}
bool wxTimerScheduler::GetNext(wxUsecClock_t *remaining) const
if ( m_timers.empty() )
return false;
- wxCHECK_MSG( remaining, false, _T("NULL pointer") );
+ wxCHECK_MSG( remaining, false, wxT("NULL pointer") );
*remaining = (*m_timers.begin())->m_expiration - wxGetLocalTimeUsec();
if ( *remaining < 0 )
wxUnixTimerImpl::~wxUnixTimerImpl()
{
- wxASSERT_MSG( !m_isRunning, _T("must have been stopped before") );
+ wxASSERT_MSG( !m_isRunning, wxT("must have been stopped before") );
}
// ============================================================================