Remove outdated parts from build system
Remove support for unsupported MSVS versions earlier than 2015 and Windows versions earlier than 7 from CMake build as they are not supported any longer. Also update wxUSE_GRAPHICS_GDIPLUS and wxUSE_GRAPHICS_DIRECT2D comments in wxMSW setup.h to remove mentions of unsupported Windows XP but do mention that MinGW-w64 can use Direct2D. Closes #23787.
This commit is contained in:
parent
811df1e2b0
commit
10d09ec2b2
7 changed files with 30 additions and 48 deletions
|
|
@ -1546,15 +1546,14 @@
|
|||
//
|
||||
// Default is 1.
|
||||
//
|
||||
// Recommended setting: 1 if you need to support XP, as Direct2D is not
|
||||
// available there.
|
||||
// Recommended setting: 1, GDI+ is always available.
|
||||
#define wxUSE_GRAPHICS_GDIPLUS wxUSE_GRAPHICS_CONTEXT
|
||||
|
||||
// Enable support for Direct2D-based implementation of wxGraphicsContext.
|
||||
//
|
||||
// Default is 1 for compilers which support it, i.e. MSVS currently. If you
|
||||
// use another compiler and installed the necessary SDK components manually,
|
||||
// you need to change this setting.
|
||||
// Default is 1 for MSVS. MinGW-w64 supports Direct2D as well, but if you use
|
||||
// it, you need to change this setting manually as other MinGW distributions
|
||||
// may not support it.
|
||||
//
|
||||
// Recommended setting: 1 for faster and better quality graphics.
|
||||
#if defined(_MSC_VER)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue