X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a3b466481eac25cbef1d35aaf6ee9d94167a07b9..aeab6775d8db7da3b52c16ae6f2f8e3604f6f101:/src/msw/timer.cpp diff --git a/src/msw/timer.cpp b/src/msw/timer.cpp index 5a6e1cf939..0842be5308 100644 --- a/src/msw/timer.cpp +++ b/src/msw/timer.cpp @@ -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 #include -#if !defined(__SC__) && !defined(__GNUWIN32__) +#if !defined(__SC__) && !defined(__GNUWIN32__) && !defined(__MWERKS__) #include #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)