#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 wxT("d")
+ #define wxTimerTickFmtSpec wxLongLongFmtSpec "d"
#define wxTimerTickPrintfArg(tt) (tt.GetValue())
#else // using native wxLongLong
#define wxTimerTickFmtSpec wxT("s")
public:
wxTimerModule() {}
bool OnInit() { return true; }
- void OnExit() { delete gs_scheduler; gs_scheduler = NULL; }
+ void OnExit() { wxDELETE(gs_scheduler); }
};
IMPLEMENT_DYNAMIC_CLASS(wxTimerModule, wxModule)