From d053a904865fc14574bf09ca2c227055aa82ca32 Mon Sep 17 00:00:00 2001 From: Xlord2 Date: Wed, 2 Mar 2016 21:39:49 +0100 Subject: [PATCH] Force wxUSE_WINRT to 0 when targeting XP The required headers such as winstring.h are not present in the SDK used when targeting XP. Closes https://github.com/wxWidgets/wxWidgets/pull/238 --- include/wx/msw/setup0.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/msw/setup0.h b/include/wx/msw/setup0.h index d005bc3580..8ade54c2e9 100644 --- a/include/wx/msw/setup0.h +++ b/include/wx/msw/setup0.h @@ -1560,7 +1560,7 @@ // SDK components manually, you need to change this setting. // // Recommended setting: 1 -#if defined(_MSC_VER) && _MSC_VER >= 1700 +#if defined(_MSC_VER) && _MSC_VER >= 1700 && !defined(_USING_V110_SDK71_) #define wxUSE_WINRT 1 #else #define wxUSE_WINRT 0