]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/timer.cpp
commented out wxCrtSetDbgFlag for WXUSINGDLL=1 (ie building apps using dll linkage)
[wxWidgets.git] / src / msw / timer.cpp
index 5a6e1cf939697f3d726d7efb90b8e0fff654fa50..0842be5308747d6f3f0cd0100a8d32fdeaf8b733 100644 (file)
@@ -23,6 +23,7 @@
 #ifndef WX_PRECOMP
     #include "wx/setup.h"
     #include "wx/list.h"
+    #include "wx/event.h"
     #include "wx/app.h"
 #endif
 
@@ -35,7 +36,7 @@
 #include <time.h>
 #include <sys/types.h>
 
-#if !defined(__SC__) && !defined(__GNUWIN32__)
+#if !defined(__SC__) && !defined(__GNUWIN32__) && !defined(__MWERKS__)
     #include <sys/timeb.h>
 #endif
 
@@ -124,7 +125,7 @@ void wxTimer::Stop(void)
 // ----------------------------------------------------------------------------
 // private functions
 // ----------------------------------------------------------------------------
-static void wxProcessTimer(wxTimer& timer)
+void wxProcessTimer(wxTimer& timer)
 {
     // Avoid to process spurious timer events
     if ( timer.id == 0)