From cdf122657394390ebcc45e6f4c0e2bf4a90adc4a Mon Sep 17 00:00:00 2001 From: Maarten Bent Date: Tue, 29 Oct 2019 00:33:53 +0100 Subject: [PATCH] Add DPI Awareness option to configure and bakefile Add option --with-dpi=[none,system,per-monitor] to configure the dpi awareness on Windows. Support DPI Awareness in makefile.gcc and makefile.bcc. The default DPI awareness is set to per-monitor. --- build/bakefiles/common.bkl | 5 +++++ build/bakefiles/config.bkl | 8 ++++++++ configure | 19 +++++++++++++++++++ configure.in | 15 +++++++++++++++ 4 files changed, 47 insertions(+) diff --git a/build/bakefiles/common.bkl b/build/bakefiles/common.bkl index 1fe539ad02..ac89850f6a 100644 --- a/build/bakefiles/common.bkl +++ b/build/bakefiles/common.bkl @@ -303,6 +303,10 @@ _WIN32_WINNT=0x0400 + + wxUSE_DPI_AWARE_MANIFEST=$(USE_DPI_AWARE_MANIFEST) + + cairo @@ -343,6 +347,7 @@ $(NO_VC_CRTDBG) $(WIN32_WINNT) + $(WIN32_DPI_MANIFEST) $(LINK_TARGET_CPU) diff --git a/build/bakefiles/config.bkl b/build/bakefiles/config.bkl index 4562c8abaa..65a7e8f9fc 100644 --- a/build/bakefiles/config.bkl +++ b/build/bakefiles/config.bkl @@ -327,6 +327,14 @@ Default is to use debug CRT if and only if BUILD==debug. + +