Merge branch 'art-scalefactor'

Fix confusion between different kinds of coordinates in wxAUI code,
restoring correct behaviour in high DPI on all platforms.

See #2620.

Closes #19331.
This commit is contained in:
Vadim Zeitlin
2022-01-13 17:51:00 +00:00
26 changed files with 294 additions and 114 deletions

View File

@@ -489,7 +489,7 @@ bool wxHtmlWindow::DoSetPage(const wxString& source)
SetBackgroundImage(wxNullBitmap);
double pixelScale = 1.0;
#ifndef wxHAVE_DPI_INDEPENDENT_PIXELS
#ifndef wxHAS_DPI_INDEPENDENT_PIXELS
pixelScale = GetDPIScaleFactor();
#endif