This commit is contained in:
yw4z
2025-11-19 13:51:52 +03:00
parent c9e6c51213
commit 6d70fdd150
3 changed files with 2 additions and 6 deletions

View File

@@ -2272,6 +2272,8 @@ void MainFrame::on_sys_color_changed()
#endif
#endif
diff_dialog.on_sys_color_changed();
// BBS
m_tabpanel->Rescale();
m_param_panel->msw_rescale();

View File

@@ -2114,11 +2114,6 @@ void DiffPresetDialog::show(Preset::Type type /* = Preset::TYPE_INVALID*/)
update_tree();
wxGetApp().UpdateDlgDarkUI(this);
#ifdef _WIN32 // ORCA ensure row colors updated after opening dialog again after switching Dark Mode
wxGetApp().UpdateAllStaticTextDarkUI(this);
wxGetApp().UpdateDarkUI(m_show_all_presets);
wxGetApp().UpdateDVCDarkUI(m_tree);
#endif
// if this dialog is shown it have to be Hide and show again to be placed on the very Top of windows
if (IsShown())

View File

@@ -463,7 +463,6 @@ public:
std::array<Preset::Type, 3> types_list() const;
protected:
void on_dpi_changed(const wxRect& suggested_rect) override;
void on_sys_color_changed() override;
};