]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/timercmn.cpp
Stripped out miscellaneous Motif/Xt-specific code
[wxWidgets.git] / src / common / timercmn.cpp
index 7746d40ca743c75651a0061c68f67095d5c51122..b9f1269ec081a7fdb2706d0cb4308e285d7864be 100644 (file)
 #  endif
 #endif
 
+#if defined(__MWERKS__) && defined(__WXMSW__)
+#   undef HAVE_FTIME
+#   undef HAVE_GETTIMEOFDAY
+#endif
+
 #include <time.h>
 #ifndef __WXMAC__
     #include <sys/types.h>      // for time_t
 
 #if wxUSE_GUI && wxUSE_TIMER
 
+wxTimerBase::~wxTimerBase()
+{
+    // this destructor is required for Darwin
+}
+
 void wxTimerBase::Notify()
 {
     // the base class version generates an event if it has owner - which it
@@ -334,7 +344,7 @@ wxLongLong wxGetLocalTimeMillis()
         #pragma message("wxStopWatch will be up to second resolution!")
     #elif defined(__BORLANDC__)
         #pragma message "wxStopWatch will be up to second resolution!"
-    #elif
+    #else
         #warning "wxStopWatch will be up to second resolution!"
     #endif // compiler
 #endif