Fix font and thumb size of wxSlider after DPI change

This commit is contained in:
Maarten Bent
2019-08-27 23:26:27 +02:00
parent 587f894f96
commit 4713301cf5
2 changed files with 32 additions and 2 deletions

View File

@@ -122,6 +122,9 @@ protected:
WXHBRUSH DoMSWControlColor(WXHDC pDC, wxColour colBg, WXHWND hWnd) wxOVERRIDE;
virtual void MSWUpdateFontOnDPIChange(const wxSize& newDPI) wxOVERRIDE;
void OnDPIChanged(wxDPIChangedEvent& event);
// the labels windows, if any
wxSubwindows *m_labels;