From 6841d412ae276fc3a34b5e060e624bd6763a2d37 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 29 Aug 2003 00:05:49 +0000 Subject: [PATCH] don't reset timer interval to 0 in Stop(), this prevents Start(-1) from working git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/timer.cpp | 1 - src/mac/timer.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/src/mac/carbon/timer.cpp b/src/mac/carbon/timer.cpp index c1bb4eceea..1c15383290 100644 --- a/src/mac/carbon/timer.cpp +++ b/src/mac/carbon/timer.cpp @@ -125,7 +125,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 ) ; diff --git a/src/mac/timer.cpp b/src/mac/timer.cpp index c1bb4eceea..1c15383290 100644 --- a/src/mac/timer.cpp +++ b/src/mac/timer.cpp @@ -125,7 +125,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 ) ;