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
This commit is contained in:
Xlord2 2016-03-02 21:39:49 +01:00 committed by Vadim Zeitlin
parent a916f7f917
commit d053a90486

View File

@ -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