// 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__
{
(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());
{
wxTimerList.Append(m_id, this);
- return TRUE;
+ return true;
}
else
{
wxLogSysError(_("Couldn't create a timer"));
- return FALSE;
+ return false;
}
}
wxCHECK_MSG( node, 0, wxT("bogus timer id in wxTimerProc") );
- wxProcessTimer(*(wxTimer *)node->Data());
+ wxProcessTimer(*(wxTimer *)node->GetData());
return 0;
}