A few weeks of Unicode fixes (my old win95 laptop compiles sloowly,
especially when through the nullmodem cable). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -90,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;
|
||||
|
||||
@@ -143,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());
|
||||
|
||||
|
Reference in New Issue
Block a user