make it possible to restart timer with a simple Start(), as in other ports

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2004-01-22 11:26:15 +00:00
parent c944ce3573
commit 368ba124ef
2 changed files with 0 additions and 2 deletions

View File

@@ -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

View File

@@ -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