Simon Rozman a798474bdc Resolve warning popup when GetDpiForWindow() is not available
The GetDpiForWindow() Win32 API was introduced in User32.dll with
Windows 10. Since we have a fallback case when this API is not present,
avoid popping up the wxWidgets warning. Furthermore, performance was
improved by introducing a flag to prevent keep looking for
GetDpiForWindow() on each call.
2018-09-19 12:58:51 +02:00
..