typedef ulong wxTimerTick_t;
- #define wxTimerTickFmtSpec _T("lu")
+ #define wxTimerTickFmtSpec wxT("lu")
#define wxTimerTickPrintfArg(tt) (tt)
#ifdef __DOS__
// Under DOS the MGL timer has a 24hr period, so consider the 12 hours
- // before y to be 'less' and the the 12 hours after 'greater' modulo
+ // before y to be 'less' and the 12 hours after 'greater' modulo
// 24 hours.
inline bool wxTickGreaterEqual(wxTimerTick_t x, wxTimerTick_t y)
{
typedef wxLongLong wxTimerTick_t;
#if wxUSE_LONGLONG_WX
- #define wxTimerTickFmtSpec wxLongLongFmtSpec _T("d")
+ #define wxTimerTickFmtSpec wxLongLongFmtSpec "d"
#define wxTimerTickPrintfArg(tt) (tt.GetValue())
#else // using native wxLongLong
- #define wxTimerTickFmtSpec _T("s")
+ #define wxTimerTickFmtSpec wxT("s")
#define wxTimerTickPrintfArg(tt) (tt.ToString().c_str())
#endif // wx/native long long
public:
wxTimerModule() {}
bool OnInit() { return true; }
- void OnExit() { delete gs_scheduler; gs_scheduler = NULL; }
+ void OnExit() { wxDELETE(gs_scheduler); }
};
IMPLEMENT_DYNAMIC_CLASS(wxTimerModule, wxModule)