many changes; major ones:
1. start of !wxUSE_GUI support 2. _T() macro renamed to T() 3. wxConvertWX2MB and MB2WX macro added git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3828 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, _T("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, _T("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