Improve wxUSE_DPI_AWARE_MANIFEST description in high DPI overview
Make it more clear that wx/msw/wx.rc must be included for this option to be taken into account.
This commit is contained in:
@@ -130,11 +130,13 @@ MSW
|
|||||||
---
|
---
|
||||||
|
|
||||||
The behaviour of the application when running on a high-DPI display depends on
|
The behaviour of the application when running on a high-DPI display depends on
|
||||||
the values in its [manifest][1]. If your application include `wx/msw/wx.rc`
|
the values in its [manifest][1]. You may either use your own manifest, in which
|
||||||
from its resource file, you need to predefine `wxUSE_DPI_AWARE_MANIFEST` to
|
case you need to define the `dpiAware` (for compatibility with older OS
|
||||||
opt-in into [high DPI support][2]: define it as `1` for minimal DPI awareness and
|
versions) and `dpiAwareness` (for proper per-monitor DPI support) in it, or
|
||||||
`2` for full, per-monitor DPI awareness supported by Windows 10 version 1703 or
|
simply include `wx/msw/wx.rc` from your resource file to use the manifest
|
||||||
later.
|
provided by wxWidgets and predefine `wxUSE_DPI_AWARE_MANIFEST` to opt-in into
|
||||||
|
[high DPI support][2]: define it as `1` for minimal DPI awareness and `2` for
|
||||||
|
full, per-monitor DPI awareness supported by Windows 10 version 1703 or later.
|
||||||
|
|
||||||
[1]: https://docs.microsoft.com/en-us/windows/win32/sbscs/application-manifests
|
[1]: https://docs.microsoft.com/en-us/windows/win32/sbscs/application-manifests
|
||||||
[2]: https://docs.microsoft.com/en-us/windows/win32/hidpi/high-dpi-desktop-application-development-on-windows
|
[2]: https://docs.microsoft.com/en-us/windows/win32/hidpi/high-dpi-desktop-application-development-on-windows
|
||||||
|
Reference in New Issue
Block a user