X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c085e333984dc079a001cd3f581aeb1f51a1f227..32a95f9f1a4a0ed0f569394e379f220666a8e47f:/src/msw/timer.cpp?ds=sidebyside

diff --git a/src/msw/timer.cpp b/src/msw/timer.cpp
index 844e0b1f56..0842be5308 100644
--- a/src/msw/timer.cpp
+++ b/src/msw/timer.cpp
@@ -9,14 +9,6 @@
 // Licence:   	wxWindows license
 /////////////////////////////////////////////////////////////////////////////
 
-// ============================================================================
-// declarations
-// ============================================================================
-
-// ----------------------------------------------------------------------------
-// headers
-// ----------------------------------------------------------------------------
-
 #ifdef __GNUG__
     #pragma implementation "timer.h"
 #endif
@@ -31,6 +23,7 @@
 #ifndef WX_PRECOMP
     #include "wx/setup.h"
     #include "wx/list.h"
+    #include "wx/event.h"
     #include "wx/app.h"
 #endif
 
@@ -43,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
 
@@ -132,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)