X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c085e333984dc079a001cd3f581aeb1f51a1f227..1d3dbc7b63b3a5bcceafd513c165f719b864e3c2:/src/msw/timer.cpp 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 #include -#if !defined(__SC__) && !defined(__GNUWIN32__) +#if !defined(__SC__) && !defined(__GNUWIN32__) && !defined(__MWERKS__) #include #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)