Support DPI change in wxToolBar

Manually resize the embedded controls and Realize the toolbar again.
This commit is contained in:
Maarten Bent
2016-10-16 14:44:58 +02:00
parent e57139bb21
commit 8bff737438
2 changed files with 52 additions and 1 deletions

View File

@@ -139,6 +139,9 @@ protected:
// set native toolbar padding
void MSWSetPadding(WXWORD padding);
void RealizeHelper();
void OnDPIChanged(wxDPIChangedEvent& event);
// the big bitmap containing all bitmaps of the toolbar buttons
WXHBITMAP m_hBitmap;