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:
@@ -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()
|
||||||
|
@@ -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()
|
||||||
|
Reference in New Issue
Block a user