X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/62f17a1864ffb025ffb71d6f42ca0c05223b775c..55826fcf4fd863d48ac28789d99bbb5c8a8d4c7e:/src/msw/timer.cpp diff --git a/src/msw/timer.cpp b/src/msw/timer.cpp index 57dfbbb53d..0fe07b64a3 100644 --- a/src/msw/timer.cpp +++ b/src/msw/timer.cpp @@ -5,8 +5,8 @@ // Modified by: // Created: 04/01/98 // RCS-ID: $Id$ -// Copyright: (c) Julian Smart and Markus Holzem -// Licence: wxWindows license +// Copyright: (c) Julian Smart +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifdef __GNUG__ @@ -84,7 +84,7 @@ bool wxTimer::Start(int milliseconds, bool oneShot) { (void)wxTimerBase::Start(milliseconds, oneShot); - wxCHECK_MSG( m_milli > 0, FALSE, wxT("invalid value for timer timeour") ); + wxCHECK_MSG( m_milli > 0, false, wxT("invalid value for timer timeour") ); TIMERPROC wxTimerProcInst = (TIMERPROC) MakeProcInstance((FARPROC)wxTimerProc, wxGetInstance()); @@ -96,13 +96,13 @@ bool wxTimer::Start(int milliseconds, bool oneShot) { wxTimerList.Append(m_id, this); - return TRUE; + return true; } else { wxLogSysError(_("Couldn't create a timer")); - return FALSE; + return false; } } @@ -140,7 +140,7 @@ UINT WINAPI _EXPORT wxTimerProc(HWND WXUNUSED(hwnd), WORD, int idTimer, DWORD) wxCHECK_MSG( node, 0, wxT("bogus timer id in wxTimerProc") ); - wxProcessTimer(*(wxTimer *)node->Data()); + wxProcessTimer(*(wxTimer *)node->GetData()); return 0; }