X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4410d619c5a29e025b3ee5cd2363d8795aaf841c..67eb4cb2539ba04a58da72a6e911d401b38d786c:/src/motif/timer.cpp diff --git a/src/motif/timer.cpp b/src/motif/timer.cpp index f4ef797df6..edf7f20a5e 100644 --- a/src/motif/timer.cpp +++ b/src/motif/timer.cpp @@ -9,9 +9,8 @@ // 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" #include "wx/timer.h" #include "wx/app.h" @@ -27,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); @@ -78,7 +77,7 @@ bool wxTimer::Start(int milliseconds, bool mode) m_milli, (XtTimerCallbackProc) wxTimerCallback, (XtPointer) this); - return TRUE; + return true; } void wxTimer::Stop()