X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2432b92dd7a837db13d3938a56c1959decd03203..36e2955a64a41e743fbd151c2466450ef99b323b:/src/msw/timer.cpp diff --git a/src/msw/timer.cpp b/src/msw/timer.cpp index 0842be5308..6189c29160 100644 --- a/src/msw/timer.cpp +++ b/src/msw/timer.cpp @@ -20,6 +20,9 @@ #pragma hdrstop #endif +#include "wx/window.h" +#include "wx/msw/private.h" + #ifndef WX_PRECOMP #include "wx/setup.h" #include "wx/list.h" @@ -31,7 +34,6 @@ #include "wx/log.h" #include "wx/timer.h" -#include "wx/msw/private.h" #include #include @@ -88,7 +90,7 @@ bool wxTimer::Start(int milliseconds, bool mode) if (milliseconds < 0) milliseconds = lastMilli; - wxCHECK_MSG( milliseconds > 0, FALSE, "invalid value for timer timeour" ); + wxCHECK_MSG( milliseconds > 0, FALSE, _T("invalid value for timer timeour") ); lastMilli = milli = milliseconds; @@ -141,7 +143,7 @@ UINT WINAPI _EXPORT wxTimerProc(HWND WXUNUSED(hwnd), WORD, int idTimer, DWORD) { wxNode *node = wxTimerList.Find((long)idTimer); - wxCHECK_MSG( node, 0, "bogus timer id in wxTimerProc" ); + wxCHECK_MSG( node, 0, _T("bogus timer id in wxTimerProc") ); wxProcessTimer(*(wxTimer *)node->Data());