Handle all pixel values in XRC as being DPI-independent.

Pixel values in XRC can never be correct for high resolution displays, unlike
the pixel values passed to wxWidgets API, which could be already adjusted to
account for the resolution or obtained from resolution-dependent text metrics,
so scale them by the factor appropriate for the current resolution
automatically.
This commit is contained in:
Vadim Zeitlin
2015-04-20 20:07:57 +02:00
parent 100d2a5819
commit 277b848364
3 changed files with 16 additions and 9 deletions

View File

@@ -37,6 +37,9 @@ Changes in behaviour which may result in build errors
3.1.0: (released 2014-xx-xx)
----------------------------
- Many improvements for high DPI monitors support, notably XRC now interprets
all pixel values as being in resolution-independent pixels.
- wxQt branch implementing Qt5-based port of wxWidgets API was merged into
the trunk (Mariano Reingart, Google Summer of Code project).