]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/timer.cpp
don't use wxTheXXXList in wxXXX ctor/dtor, only objects explicitly created
[wxWidgets.git] / src / mac / timer.cpp
index 107906e76390397021ded29b072e42561e845348..f2b5f2e8961ec113b98baac62f9bd738d3713359 100644 (file)
@@ -79,6 +79,8 @@ bool wxTimer::Start(int milliseconds,bool mode)
 #endif
     m_info.m_task.tmWakeUp = 0 ;
     m_info.m_task.tmReserved = 0 ;
+       m_info.m_task.qType = 0 ;
+       m_info.m_timer = this ;
     InsXTime((QElemPtr) &m_info.m_task ) ;
     PrimeTime( (QElemPtr) &m_info.m_task , m_milli ) ;
     return FALSE;