FIX: label color

Change-Id: I1de550178601fab8844fac9aabf9728233a965bb
This commit is contained in:
chunmao.guo 2022-12-15 18:18:01 +08:00 committed by Lane.Wei
parent 9bc46daf40
commit 5066cc1736
2 changed files with 2 additions and 1 deletions

View file

@ -226,6 +226,7 @@ Label::Label(wxWindow *parent, wxFont const &font, wxString const &text, long st
this->font = font;
SetFont(font);
SetBackgroundColour(StaticBox::GetParentBackgroundColor(parent));
SetForegroundColour("#262E30");
if (style & LB_PROPAGATE_MOUSE_EVENT) {
for (auto evt : {
wxEVT_LEFT_UP, wxEVT_LEFT_DOWN})