FIX: [STUDIO-1563] dark mode of dataview's header

Change-Id: Ied9358df9d2edd9f0d40a81694655b8f2fdefdb8
This commit is contained in:
chunmao.guo 2022-12-06 18:52:57 +08:00 committed by Lane.Wei
parent 0db1b52b23
commit e54f3a75d4
3 changed files with 13 additions and 1 deletions

View file

@ -513,6 +513,8 @@ void PreferencesDialog::set_dark_mode()
NppDarkMode::SetDarkExplorerTheme(this->GetHWND());
NppDarkMode::SetDarkTitleBar(this->GetHWND());
wxGetApp().UpdateDlgDarkUI(this);
SetActiveWindow(wxGetApp().mainframe->GetHWND());
SetActiveWindow(GetHWND());
#endif
#endif
}