Update tab control height in wxAuiNotebook on DPI change

Otherwise layout is computed incorrectly, resulting in visual artefacts.

Closes #24348.

Closes #24355.
This commit is contained in:
Vadim Zeitlin 2024-02-25 01:26:53 +01:00
parent 8a027b98d1
commit 9bae1046c7
2 changed files with 8 additions and 0 deletions

View file

@ -434,6 +434,7 @@ protected:
void OnTabBgDClick(wxAuiNotebookEvent& evt);
void OnNavigationKeyNotebook(wxNavigationKeyEvent& event);
void OnSysColourChanged(wxSysColourChangedEvent& event);
void OnDpiChanged(wxDPIChangedEvent& event);
// set selection to the given window (which must be non-null and be one of
// our pages, otherwise an assert is raised)