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
This commit is contained in:
Vadim Zeitlin 2003-08-29 00:05:49 +00:00
parent e6a14306d1
commit 6841d412ae
2 changed files with 0 additions and 2 deletions

View File

@ -125,7 +125,6 @@ bool wxTimer::Start(int milliseconds,bool mode)
void wxTimer::Stop() void wxTimer::Stop()
{ {
m_milli = 0 ;
if ( m_info->m_task.tmAddr ) if ( m_info->m_task.tmAddr )
{ {
RmvTime( (QElemPtr) &m_info->m_task ) ; RmvTime( (QElemPtr) &m_info->m_task ) ;

View File

@ -125,7 +125,6 @@ bool wxTimer::Start(int milliseconds,bool mode)
void wxTimer::Stop() void wxTimer::Stop()
{ {
m_milli = 0 ;
if ( m_info->m_task.tmAddr ) if ( m_info->m_task.tmAddr )
{ {
RmvTime( (QElemPtr) &m_info->m_task ) ; RmvTime( (QElemPtr) &m_info->m_task ) ;