FIX: a button color didn't response to dark mode change
jira: STUDIO-5315 Change-Id: I95489f01ccd1f77b9e95b0d0f69e5398d2e88487
This commit is contained in:
parent
c53a458942
commit
9adcd44411
|
@ -314,7 +314,7 @@ public:
|
|||
}
|
||||
|
||||
virtual void msw_rescale();
|
||||
void on_sys_color_changed();
|
||||
virtual void on_sys_color_changed();
|
||||
|
||||
protected:
|
||||
CalibMode m_cali_mode;
|
||||
|
|
|
@ -455,6 +455,12 @@ void CalibrationPresetPage::msw_rescale()
|
|||
}
|
||||
}
|
||||
|
||||
void CalibrationPresetPage::on_sys_color_changed()
|
||||
{
|
||||
CalibrationWizardPage::on_sys_color_changed();
|
||||
m_ams_sync_button->msw_rescale();
|
||||
}
|
||||
|
||||
void CalibrationPresetPage::create_selection_panel(wxWindow* parent)
|
||||
{
|
||||
auto panel_sizer = new wxBoxSizer(wxVERTICAL);
|
||||
|
|
|
@ -208,6 +208,7 @@ public:
|
|||
CaliPresetPageStatus get_page_status() { return m_page_status; }
|
||||
|
||||
void msw_rescale() override;
|
||||
void on_sys_color_changed() override;
|
||||
|
||||
protected:
|
||||
void create_selection_panel(wxWindow* parent);
|
||||
|
|
Loading…
Reference in New Issue