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:
parent
e6a14306d1
commit
6841d412ae
@ -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 ) ;
|
||||||
|
@ -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 ) ;
|
||||||
|
Loading…
Reference in New Issue
Block a user