Resize wxListCtrl columns on DPI change

Fix font of custom attributes in wxListCtrl on DPI change.
This commit is contained in:
Maarten Bent
2019-01-13 15:12:25 +01:00
parent 56fab0aabb
commit 2c6d132efe
2 changed files with 61 additions and 5 deletions

View File

@@ -394,6 +394,10 @@ protected:
virtual void DoSetToolTip(wxToolTip *tip) wxOVERRIDE;
#endif // wxUSE_TOOLTIPS
virtual void MSWUpdateFontOnDPIChange(const wxSize& newDPI) wxOVERRIDE;
void OnDPIChanged(wxDPIChangedEvent& event);
wxSize MSWGetBestViewRect(int x, int y) const;
// Implement base class pure virtual methods.