diff --git a/src/msw/app.cpp b/src/msw/app.cpp index 796ee13256..c4808f1b35 100644 --- a/src/msw/app.cpp +++ b/src/msw/app.cpp @@ -117,7 +117,8 @@ #define _WIN32_IE 0x0200 #endif -#if _WIN32_IE >= 0x0300 && !defined(__MINGW32__) +#if _WIN32_IE >= 0x0300 && \ + (!defined(__MINGW32__) || wxCHECK_W32API_VERSION( 2, 0 )) #include #endif