X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1248b41f9f71110347659db8c54c75786eba23c6..d77836e48cf1a0f7575cd1ce66f59f5bc07e5b56:/src/motif/timer.cpp?ds=sidebyside diff --git a/src/motif/timer.cpp b/src/motif/timer.cpp index ef99ffeed0..edf7f20a5e 100644 --- a/src/motif/timer.cpp +++ b/src/motif/timer.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma implementation "timer.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -30,7 +26,7 @@ #include "wx/motif/private.h" -IMPLEMENT_ABSTRACT_CLASS(wxTimer, wxObject); +IMPLEMENT_ABSTRACT_CLASS(wxTimer, wxEvtHandler) WX_DECLARE_VOIDPTR_HASH_MAP(wxTimer*, wxTimerHashMap); @@ -81,7 +77,7 @@ bool wxTimer::Start(int milliseconds, bool mode) m_milli, (XtTimerCallbackProc) wxTimerCallback, (XtPointer) this); - return TRUE; + return true; } void wxTimer::Stop()