]> git.saurik.com Git - wxWidgets.git/commitdiff
corrected return value of wxTimer::Start when timer is successfully created
authorGilles Depeyrot <gilles_depeyrot@mac.com>
Fri, 20 Jun 2003 20:48:17 +0000 (20:48 +0000)
committerGilles Depeyrot <gilles_depeyrot@mac.com>
Fri, 20 Jun 2003 20:48:17 +0000 (20:48 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/timer.cpp
src/mac/timer.cpp

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