FIX: dark mode of wxTextCtrl

Change-Id: I8a377228b79d24ffe6284acf9be7017207b5dddc
This commit is contained in:
chunmao.guo 2022-11-21 19:51:51 +08:00 committed by Lane.Wei
parent 3925ceb9f4
commit 65ee16f676
8 changed files with 21 additions and 7 deletions

View file

@ -41,7 +41,7 @@ ComboBox::ComboBox(wxWindow * parent,
TextInput::SetBorderColor(StateColor(std::make_pair(0xDBDBDB, (int) StateColor::Disabled),
std::make_pair(0x00AE42, (int) StateColor::Hovered),
std::make_pair(0xDBDBDB, (int) StateColor::Normal)));
TextInput::SetBackgroundColor(StateColor(std::make_pair(0xF0F0F0, (int) StateColor::Disabled),
TextInput::SetBackgroundColor(StateColor(std::make_pair(0xF0F0F1, (int) StateColor::Disabled),
std::make_pair(0xEDFAF2, (int) StateColor::Focused),
std::make_pair(*wxWHITE, (int) StateColor::Normal)));
TextInput::SetLabelColor(StateColor(std::make_pair(0x909090, (int) StateColor::Disabled),