From 7212d15556e87f73ff5ea8c3211a0e8e8811426b Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Tue, 10 Oct 2006 17:37:02 +0000 Subject: [PATCH] don't include missing.h before windows headers git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/display.cpp | 5 +++-- src/msw/settings.cpp | 2 +- src/msw/statbox.cpp | 2 +- src/msw/textctrl.cpp | 3 ++- src/msw/volume.cpp | 6 +++--- 5 files changed, 10 insertions(+), 8 deletions(-) diff --git a/src/msw/display.cpp b/src/msw/display.cpp index 6f7181bfa2..3e87a50557 100644 --- a/src/msw/display.cpp +++ b/src/msw/display.cpp @@ -27,8 +27,9 @@ #if wxUSE_DISPLAY +#include "wx/display.h" + #ifndef WX_PRECOMP - #include "wx/msw/missing.h" #include "wx/dynarray.h" #include "wx/app.h" #include "wx/frame.h" @@ -37,8 +38,8 @@ #include "wx/dynload.h" #include "wx/sysopt.h" -#include "wx/display.h" #include "wx/display_impl.h" +#include "wx/msw/missing.h" // define this to use DirectDraw for display mode switching: this is disabled // by default because ddraw.h is now always available and also it's not really diff --git a/src/msw/settings.cpp b/src/msw/settings.cpp index e482e95ff1..6c46ae230b 100644 --- a/src/msw/settings.cpp +++ b/src/msw/settings.cpp @@ -27,13 +27,13 @@ #include "wx/settings.h" #ifndef WX_PRECOMP - #include "wx/msw/missing.h" // for SM_CXCURSOR, SM_CYCURSOR, SM_TABLETPC #include "wx/utils.h" #include "wx/gdicmn.h" #include "wx/module.h" #endif #include "wx/msw/private.h" +#include "wx/msw/missing.h" // for SM_CXCURSOR, SM_CYCURSOR, SM_TABLETPC #ifndef SPI_GETFLATMENU #define SPI_GETFLATMENU 0x1022 diff --git a/src/msw/statbox.cpp b/src/msw/statbox.cpp index ec135e4af7..010c6d822c 100644 --- a/src/msw/statbox.cpp +++ b/src/msw/statbox.cpp @@ -29,7 +29,6 @@ #include "wx/statbox.h" #ifndef WX_PRECOMP - #include "wx/msw/missing.h" #include "wx/app.h" #include "wx/dcclient.h" #include "wx/dcmemory.h" @@ -41,6 +40,7 @@ #include "wx/msw/uxtheme.h" #include "wx/msw/private.h" +#include "wx/msw/missing.h" // ---------------------------------------------------------------------------- // wxWin macros diff --git a/src/msw/textctrl.cpp b/src/msw/textctrl.cpp index 4f69825027..973f77d283 100644 --- a/src/msw/textctrl.cpp +++ b/src/msw/textctrl.cpp @@ -27,7 +27,6 @@ #if wxUSE_TEXTCTRL && !(defined(__SMARTPHONE__) && defined(__WXWINCE__)) #ifndef WX_PRECOMP - #include "wx/msw/missing.h" #include "wx/textctrl.h" #include "wx/settings.h" #include "wx/brush.h" @@ -74,6 +73,8 @@ #endif // wxUSE_RICHEDIT +#include "wx/msw/missing.h" + // ---------------------------------------------------------------------------- // private classes // ---------------------------------------------------------------------------- diff --git a/src/msw/volume.cpp b/src/msw/volume.cpp index 3a1fa48ec1..947d932eb2 100644 --- a/src/msw/volume.cpp +++ b/src/msw/volume.cpp @@ -25,8 +25,9 @@ #if wxUSE_FSVOLUME +#include "wx/volume.h" + #ifndef WX_PRECOMP - #include "wx/msw/missing.h" #if wxUSE_GUI #include "wx/icon.h" #endif @@ -38,10 +39,9 @@ #include "wx/dynlib.h" #include "wx/arrimpl.cpp" -#include "wx/volume.h" - #include #include +#include "wx/msw/missing.h" #if wxUSE_BASE -- 2.45.2