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