ENH: dark mode of StateColor

Change-Id: I5928898c50280c7f2eedbb9389032230c7e251c4
This commit is contained in:
chunmao.guo authored and Lane.Wei committed 2022-12-15 04:38:15 -05:00
1 parent faec57d263
commit b209243b27
20 files changed
+155 -38

No files matched your search

+1 -1
View File
@@ -189,7 +189,7 @@ void DropDown::render(wxDC &dc)
if (texts.size() == 0) return;
int states = state_handler.states();
dc.SetPen(wxPen(border_color.colorForStates(states)));
dc.SetBrush(wxBrush(GetBackgroundColour()));
dc.SetBrush(wxBrush(StateColor::darkModeColorFor(GetBackgroundColour())));
// if (GetWindowStyle() & wxBORDER_NONE)
// dc.SetPen(wxNullPen);