// wxWin headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "timerbase.h"
#endif
#if wxUSE_TIMER
#ifndef WX_PRECOMP
+ #include "wx/timer.h"
#endif
// ----------------------------------------------------------------------------
wxCHECK_RET( m_owner, _T("wxTimer::Notify() should be overridden.") );
wxTimerEvent event(m_idTimer, m_milli);
+ event.SetEventObject(this);
(void)m_owner->ProcessEvent(event);
}
m_oneShot = oneShot;
- return TRUE;
+ return true;
}
#endif // wxUSE_TIMER