3 Commits

Author SHA1 Message Date
23f8c36900 Address code analysis warnings
Signed-off-by: Simon Rozman <simon@rozman.si>
2019-08-23 04:10:16 +02:00
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
5a912ebcc6 Honor monitor layout and DPI changes when persisting window placement 2018-09-11 15:32:06 +02:00