Rewrite WIN_GetSystemTheme() so we don't need to bump Windows SDK versions

This commit is contained in:
Sam Lantinga committed 2023-03-10 16:29:42 -08:00
1 parent edc8f0b841
commit c044cff4c7
2 files changed
+14 -13

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@
#elif defined(HAVE_SHELLSCALINGAPI_H)
#define _WIN32_WINNT 0x603 /* For DPI support */
#else
#define _WIN32_WINNT 0x502 /* Need 0x410 for AlphaBlend() and 0x500 for EnumDisplayDevices(), 0x501 for raw input, 0x502 for RegGetValue() */
#define _WIN32_WINNT 0x501 /* Need 0x410 for AlphaBlend() and 0x500 for EnumDisplayDevices(), 0x501 for raw input */
#endif
#define WINVER _WIN32_WINNT