From e97926e55551b55d98caa5f9d36d95151c401903 Mon Sep 17 00:00:00 2001 From: Maarten Bent Date: Wed, 20 Apr 2022 22:14:35 +0200 Subject: [PATCH] Don't override wxUSE_DPI_AWARE_MANIFEST in resource file --- samples/sample.rc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/samples/sample.rc b/samples/sample.rc index 8d8636a72d..68fe34e2f8 100644 --- a/samples/sample.rc +++ b/samples/sample.rc @@ -26,7 +26,9 @@ sample ICON "sample.ico" #define wxUSE_NO_MANIFEST 0 // To get DPI change events, we need to opt in into per monitor DPI support. +#ifndef wxUSE_DPI_AWARE_MANIFEST #define wxUSE_DPI_AWARE_MANIFEST 2 +#endif // this is not always needed but doesn't hurt (except making the executable // very slightly larger): this file contains the standard icons, cursors, ...