]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/timer.cpp
added debug/release DLL configurations so that VC++ chooses the right one when buildi...
[wxWidgets.git] / src / motif / timer.cpp
index f4ef797df6d32f63d25d5aa59ff0f35092cc47bf..d80d3c52438e1dd932ecf173730bb27348f0f5a1 100644 (file)
@@ -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()