diff --git a/src/common/strconv.cpp b/src/common/strconv.cpp index e515024035..2fd2d740b3 100644 --- a/src/common/strconv.cpp +++ b/src/common/strconv.cpp @@ -16,9 +16,6 @@ #include "wx/wxprec.h" #ifndef WX_PRECOMP - #ifdef __WXMSW__ - #include "wx/msw/missing.h" - #endif #include "wx/intl.h" #include "wx/log.h" #include "wx/utils.h" @@ -29,10 +26,6 @@ #if wxUSE_WCHAR_T -#ifdef __WINDOWS__ - #include "wx/msw/private.h" -#endif - #ifndef __WXWINCE__ #include #endif @@ -42,6 +35,8 @@ #include #if defined(__WIN32__) && !defined(__WXMICROWIN__) + #include "wx/msw/private.h" + #include "wx/msw/missing.h" #define wxHAVE_WIN32_MB2WC #endif diff --git a/src/msw/cursor.cpp b/src/msw/cursor.cpp index 3f14837ed5..5093518a98 100644 --- a/src/msw/cursor.cpp +++ b/src/msw/cursor.cpp @@ -27,7 +27,6 @@ #include "wx/cursor.h" #ifndef WX_PRECOMP - #include "wx/msw/missing.h" // IDC_HAND #include "wx/utils.h" #include "wx/app.h" #include "wx/bitmap.h" @@ -39,6 +38,7 @@ #endif #include "wx/msw/private.h" +#include "wx/msw/missing.h" // IDC_HAND // define functions missing in MicroWin #ifdef __WXMICROWIN__ diff --git a/src/msw/thread.cpp b/src/msw/thread.cpp index 9fe2deef2c..36fc19ef8e 100644 --- a/src/msw/thread.cpp +++ b/src/msw/thread.cpp @@ -26,7 +26,6 @@ #include "wx/thread.h" #ifndef WX_PRECOMP - #include "wx/msw/missing.h" #include "wx/intl.h" #include "wx/app.h" #include "wx/module.h" @@ -36,6 +35,7 @@ #include "wx/scopeguard.h" #include "wx/msw/private.h" +#include "wx/msw/missing.h" #include "wx/msw/seh.h" #include "wx/except.h" diff --git a/src/msw/toplevel.cpp b/src/msw/toplevel.cpp index 4da7baf528..fae5b35149 100644 --- a/src/msw/toplevel.cpp +++ b/src/msw/toplevel.cpp @@ -27,7 +27,6 @@ #include "wx/toplevel.h" #ifndef WX_PRECOMP - #include "wx/msw/missing.h" #include "wx/app.h" #include "wx/dialog.h" #include "wx/string.h" @@ -48,10 +47,10 @@ #if _WIN32_WCE < 400 || !defined(__WINCE_STANDARDSDK__) #include #endif - #include "wx/msw/wince/missing.h" #endif #include "wx/msw/winundef.h" +#include "wx/msw/missing.h" #include "wx/display.h" diff --git a/src/msw/utils.cpp b/src/msw/utils.cpp index 7ded6a5d18..4767b04cfb 100644 --- a/src/msw/utils.cpp +++ b/src/msw/utils.cpp @@ -25,7 +25,6 @@ #endif #ifndef WX_PRECOMP - #include "wx/msw/missing.h" // CHARSET_HANGUL #include "wx/utils.h" #include "wx/app.h" #include "wx/intl.h" @@ -42,6 +41,7 @@ #include "wx/confbase.h" // for wxExpandEnvVars() #include "wx/msw/private.h" // includes +#include "wx/msw/missing.h" // for CHARSET_HANGUL #if defined(__CYGWIN__) //CYGWIN gives annoying warning about runtime stuff if we don't do this