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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user