X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..95912bdddeb21afe1cabc0401c0f8b8475a5e5c6:/src/generic/timer.cpp?ds=inline diff --git a/src/generic/timer.cpp b/src/generic/timer.cpp index 00713f32b2..729daa5011 100644 --- a/src/generic/timer.cpp +++ b/src/generic/timer.cpp @@ -74,7 +74,7 @@ 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") @@ -273,7 +273,7 @@ DECLARE_DYNAMIC_CLASS(wxTimerModule) public: wxTimerModule() {} bool OnInit() { return true; } - void OnExit() { delete gs_scheduler; gs_scheduler = NULL; } + void OnExit() { wxDELETE(gs_scheduler); } }; IMPLEMENT_DYNAMIC_CLASS(wxTimerModule, wxModule)