FIX:fixed display disorder in dark mode after account switching
Change-Id: Ie756a2d303bda7258cf7648a8887108babaf2127
This commit is contained in:
parent
fa71bcccdc
commit
e261f8b722
|
@ -189,9 +189,12 @@ public:
|
||||||
|
|
||||||
this->Bind(wxEVT_SYS_COLOUR_CHANGED, [this](wxSysColourChangedEvent& event)
|
this->Bind(wxEVT_SYS_COLOUR_CHANGED, [this](wxSysColourChangedEvent& event)
|
||||||
{
|
{
|
||||||
|
#ifndef __WINDOWS__
|
||||||
update_dark_config();
|
update_dark_config();
|
||||||
on_sys_color_changed();
|
on_sys_color_changed();
|
||||||
event.Skip();
|
event.Skip();
|
||||||
|
#endif // __WINDOWS__
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
if (std::is_same<wxDialog, P>::value) {
|
if (std::is_same<wxDialog, P>::value) {
|
||||||
|
|
Loading…
Reference in New Issue