#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)
{
public:
wxTimerModule() {}
bool OnInit() { return true; }
- void OnExit() { delete gs_scheduler; gs_scheduler = NULL; }
+ void OnExit() { wxDELETE(gs_scheduler); }
};
IMPLEMENT_DYNAMIC_CLASS(wxTimerModule, wxModule)