X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1c193821a999730fbf6a9bea83763f37daae68f1..4eb7c4b180d2ddf44f9b82e5d56c81fcdc530f64:/src/common/stopwatch.cpp?ds=sidebyside diff --git a/src/common/stopwatch.cpp b/src/common/stopwatch.cpp index f114953332..1a6fcd064b 100644 --- a/src/common/stopwatch.cpp +++ b/src/common/stopwatch.cpp @@ -33,15 +33,15 @@ #include "wx/log.h" #endif //WX_PRECOMP -#include "wx/timer.h" #include "wx/longlong.h" +#include "wx/stopwatch.h" // ---------------------------------------------------------------------------- // System headers // ---------------------------------------------------------------------------- #if defined(__WIN32__) - #include + #include "wx/msw/wrapwin.h" #endif #if defined(__WIN32__) && !defined(HAVE_FTIME) && !defined(__MWERKS__) && !defined(__WXWINCE__) @@ -250,7 +250,7 @@ wxLongLong wxGetLocalTimeMillis() // If possible, use a function which avoids conversions from // broken-up time structures to milliseconds -#if defined(__WXMSW__) && defined(__MWERKS__) +#if defined(__WXMSW__) && (defined(__WINE__) || defined(__MWERKS__)) // This should probably be the way all WXMSW compilers should do it // Go direct to the OS for time