From bb90a3e6fddff7169d6020b9b22e1f57c09f8fd9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Tue, 25 Jul 2006 08:47:47 +0000 Subject: [PATCH] Include wx/stopwatch.h according to precompiled headers of wx/wx.h (with other minor cleaning). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/wx.h | 1 + src/common/datetime.cpp | 2 +- src/common/event.cpp | 5 +---- src/common/stopwatch.cpp | 5 ++--- src/msw/mediactrl_am.cpp | 2 +- src/unix/threadpsx.cpp | 2 +- 6 files changed, 7 insertions(+), 10 deletions(-) diff --git a/include/wx/wx.h b/include/wx/wx.h index d78b7eca02..bba9811acf 100644 --- a/include/wx/wx.h +++ b/include/wx/wx.h @@ -28,6 +28,7 @@ #include "wx/stream.h" #include "wx/memory.h" #include "wx/math.h" +#include "wx/stopwatch.h" #if wxUSE_GUI diff --git a/src/common/datetime.cpp b/src/common/datetime.cpp index 7b85eea106..0832f5379f 100644 --- a/src/common/datetime.cpp +++ b/src/common/datetime.cpp @@ -69,6 +69,7 @@ #include "wx/string.h" #include "wx/log.h" #include "wx/intl.h" + #include "wx/stopwatch.h" // for wxGetLocalTimeMillis() #endif // WX_PRECOMP #include "wx/thread.h" @@ -86,7 +87,6 @@ #endif #include "wx/datetime.h" -#include "wx/stopwatch.h" // for wxGetLocalTimeMillis() const long wxDateTime::TIME_T_FACTOR = 1000l; diff --git a/src/common/event.cpp b/src/common/event.cpp index f33787b099..a22b1b0407 100644 --- a/src/common/event.cpp +++ b/src/common/event.cpp @@ -30,6 +30,7 @@ #include "wx/list.h" #include "wx/app.h" #include "wx/utils.h" + #include "wx/stopwatch.h" #if wxUSE_GUI #include "wx/control.h" @@ -41,10 +42,6 @@ #include "wx/module.h" -#if wxUSE_GUI && wxUSE_STOPWATCH - #include "wx/stopwatch.h" -#endif // wxUSE_GUI && wxUSE_STOPWATCH - // ---------------------------------------------------------------------------- // wxWin macros // ---------------------------------------------------------------------------- diff --git a/src/common/stopwatch.cpp b/src/common/stopwatch.cpp index 9cf9902ae1..0739cf0f4b 100644 --- a/src/common/stopwatch.cpp +++ b/src/common/stopwatch.cpp @@ -28,14 +28,13 @@ #pragma hdrstop #endif +#include "wx/stopwatch.h" + #ifndef WX_PRECOMP #include "wx/intl.h" #include "wx/log.h" #endif //WX_PRECOMP -#include "wx/longlong.h" -#include "wx/stopwatch.h" - // ---------------------------------------------------------------------------- // System headers // ---------------------------------------------------------------------------- diff --git a/src/msw/mediactrl_am.cpp b/src/msw/mediactrl_am.cpp index cee182bf06..eb5701a245 100644 --- a/src/msw/mediactrl_am.cpp +++ b/src/msw/mediactrl_am.cpp @@ -65,11 +65,11 @@ #include "wx/dcclient.h" #include "wx/timer.h" #include "wx/math.h" // log10 & pow + #include "wx/stopwatch.h" #endif #include "wx/msw/private.h" // user info and wndproc setting/getting #include "wx/dynlib.h" -#include "wx/stopwatch.h" //--------------------------------------------------------------------------- // wxActiveXContainer - includes all the COM-specific stuff we need diff --git a/src/unix/threadpsx.cpp b/src/unix/threadpsx.cpp index b2f70b8bc6..1104048d4e 100644 --- a/src/unix/threadpsx.cpp +++ b/src/unix/threadpsx.cpp @@ -34,10 +34,10 @@ #include "wx/log.h" #include "wx/utils.h" #include "wx/timer.h" + #include "wx/stopwatch.h" #endif #include "wx/module.h" -#include "wx/stopwatch.h" #include #include -- 2.45.2