]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/timer.cpp
alpha support for Scale added
[wxWidgets.git] / src / motif / timer.cpp
index ef99ffeed09276d0cb57e7dcea7cbfbde04d0388..d80d3c52438e1dd932ecf173730bb27348f0f5a1 100644 (file)
@@ -30,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);
 
@@ -81,7 +81,7 @@ bool wxTimer::Start(int milliseconds, bool mode)
                             m_milli,
                             (XtTimerCallbackProc) wxTimerCallback,
                             (XtPointer) this);
-    return TRUE;
+    return true;
 }
 
 void wxTimer::Stop()