From 85edb1c711f7816ed1a30edd07b37d314fac216a Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Mon, 19 Feb 2018 09:58:44 +0100 Subject: Make the proper Windows APIs natively available to our tree. Tag #22. This bypasses custom definitions of some functions for things natively available in Windows 7. --- widget/windows/WinUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'widget/windows/WinUtils.cpp') diff --git a/widget/windows/WinUtils.cpp b/widget/windows/WinUtils.cpp index 418a77182..0a57ad439 100644 --- a/widget/windows/WinUtils.cpp +++ b/widget/windows/WinUtils.cpp @@ -601,7 +601,7 @@ WinUtils::SystemScaleFactor() return systemScale; } -#ifndef WM_DPICHANGED +#if WINVER < 0x603 typedef enum { MDT_EFFECTIVE_DPI = 0, MDT_ANGULAR_DPI = 1, -- cgit v1.2.3