Improve high DPI support in wxAui

Window initial/minimum/maximum sizes are now treated as logical pixels.

Furthermore, many margins and paddings are now converted using
wxWindow::FromDIP() to allow their growth in accord with screen DPI.
This places buttons on toolbars more apart on high DPI screens providing
space for easier touch operations.

Closes https://github.com/wxWidgets/wxWidgets/pull/933
This commit is contained in:
2018-09-14 14:27:05 +02:00
committed by Vadim Zeitlin
parent 2af7e38153
commit 770e0bcd16
14 changed files with 294 additions and 268 deletions

View File

@@ -338,6 +338,7 @@ public:
wxAuiPaneInfo& pane);
void DrawIcon(wxDC& dc,
wxWindow *window,
const wxRect& rect,
wxAuiPaneInfo& pane);