Support DPI change in wxToolBar
Manually resize the embedded controls and Realize the toolbar again.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user