typedef ulong wxTimerTick_t;
- #define wxTimerTickFmtSpec _T("lu")
+ #define wxTimerTickFmtSpec wxT("lu")
#define wxTimerTickPrintfArg(tt) (tt)
#ifdef __DOS__
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)