Mark IE-based wxWebView as being DPI aware

This makes it work (better) in high DPI.

Closes #17894.
This commit is contained in:
michael
2020-07-19 14:19:18 +02:00
committed by Vadim Zeitlin
parent 6023925ef6
commit 5c1f7733ab
2 changed files with 4 additions and 2 deletions

View File

@@ -1892,7 +1892,8 @@ HRESULT wxSTDCALL DocHostUIHandler::GetHostInfo(DOCHOSTUIINFO *pInfo)
// redirected.
pInfo->dwFlags |= DOCHOSTUIFLAG_NO3DBORDER |
DOCHOSTUIFLAG_THEME |
DOCHOSTUIFLAG_ENABLE_REDIRECT_NOTIFICATION;
DOCHOSTUIFLAG_ENABLE_REDIRECT_NOTIFICATION |
DOCHOSTUIFLAG_DPI_AWARE;
return S_OK;
}