corrected return value of wxTimer::Start when timer is successfully created

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Gilles Depeyrot
2003-06-20 20:48:17 +00:00
parent 522652591a
commit 5de3edd09e
2 changed files with 2 additions and 2 deletions

View File

@@ -120,7 +120,7 @@ bool wxTimer::Start(int milliseconds,bool mode)
m_info->m_timer = this ; m_info->m_timer = this ;
InsXTime((QElemPtr) &m_info->m_task ) ; InsXTime((QElemPtr) &m_info->m_task ) ;
PrimeTime( (QElemPtr) &m_info->m_task , m_milli ) ; PrimeTime( (QElemPtr) &m_info->m_task , m_milli ) ;
return FALSE; return TRUE;
} }
void wxTimer::Stop() void wxTimer::Stop()

View File

@@ -120,7 +120,7 @@ bool wxTimer::Start(int milliseconds,bool mode)
m_info->m_timer = this ; m_info->m_timer = this ;
InsXTime((QElemPtr) &m_info->m_task ) ; InsXTime((QElemPtr) &m_info->m_task ) ;
PrimeTime( (QElemPtr) &m_info->m_task , m_milli ) ; PrimeTime( (QElemPtr) &m_info->m_task , m_milli ) ;
return FALSE; return TRUE;
} }
void wxTimer::Stop() void wxTimer::Stop()