X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c5990c003437b71326f74082845ad6e60405a105..86deae1ef1ce9fdef44ed0bdacedbd8966d863f4:/src/mac/carbon/timer.cpp diff --git a/src/mac/carbon/timer.cpp b/src/mac/carbon/timer.cpp index c1bb4eceea..4fcae35e09 100644 --- a/src/mac/carbon/timer.cpp +++ b/src/mac/carbon/timer.cpp @@ -108,7 +108,6 @@ bool wxTimer::Start(int milliseconds,bool mode) wxCHECK_MSG( m_milli > 0, FALSE, wxT("invalid value for timer timeour") ); wxCHECK_MSG( m_info->m_task.tmAddr == NULL , FALSE, wxT("attempting to restart a timer") ); - m_milli = milliseconds; #if defined(UNIVERSAL_INTERFACES_VERSION) && (UNIVERSAL_INTERFACES_VERSION >= 0x0340) m_info->m_task.tmAddr = NewTimerUPP( MacTimerProc ) ; #else @@ -125,7 +124,6 @@ bool wxTimer::Start(int milliseconds,bool mode) void wxTimer::Stop() { - m_milli = 0 ; if ( m_info->m_task.tmAddr ) { RmvTime( (QElemPtr) &m_info->m_task ) ;