+#endif
+
+static void wxProcessTimer( unsigned long event , void *data ) ;
+
+pascal void MacTimerProc( TMTask * t )
+{
+ MacTimerInfo * tm = (MacTimerInfo*) t ;
+ wxMacAddEvent( tm->m_table , wxProcessTimer, 0 , (void*) tm->m_timer , TRUE ) ;
+}
+
+void wxProcessTimer( unsigned long event , void *data )
+{
+ if ( !data )
+ return ;
+
+ wxTimer* timer = (wxTimer*) data ;
+ if ( timer->IsOneShot() )
+ timer->Stop() ;
+
+ timer->Notify();
+
+ if ( timer->m_info.m_task.tmAddr && !timer->IsOneShot() )
+ {
+ PrimeTime( (QElemPtr) &timer->m_info.m_task , timer->GetInterval() ) ;
+ }
+}