diff options
Diffstat (limited to 'win32/PlatWin.cxx')
-rw-r--r-- | win32/PlatWin.cxx | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index 6a77aab3f..3d8595b1d 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -28,9 +28,9 @@ #define NOMINMAX #endif #undef _WIN32_WINNT -#define _WIN32_WINNT 0x0500 +#define _WIN32_WINNT 0x0A00 #undef WINVER -#define WINVER 0x0500 +#define WINVER 0x0A00 #define WIN32_LEAN_AND_MEAN 1 #include <windows.h> #include <commctrl.h> @@ -58,14 +58,6 @@ #include "WinTypes.h" #include "PlatWin.h" -#ifndef SPI_GETFONTSMOOTHINGCONTRAST -#define SPI_GETFONTSMOOTHINGCONTRAST 0x200C -#endif - -#ifndef LOAD_LIBRARY_SEARCH_SYSTEM32 -#define LOAD_LIBRARY_SEARCH_SYSTEM32 0x00000800 -#endif - // __uuidof is a Microsoft extension but makes COM code neater, so disable warning #if defined(__clang__) #pragma clang diagnostic ignored "-Wlanguage-extension-token" @@ -159,10 +151,6 @@ bool LoadD2D() { #endif -#ifndef CLEARTYPE_QUALITY -#define CLEARTYPE_QUALITY 5 -#endif - void *PointerFromWindow(HWND hWnd) noexcept { return reinterpret_cast<void *>(::GetWindowLongPtr(hWnd, 0)); } |