FIX: sync from master

Change-Id: If8d11f0778d540e7f16ce022150bc531d42f6bd9
This commit is contained in:
chunmao.guo 2023-05-30 12:16:37 +08:00 committed by Lane.Wei
parent 2d8ddca1d6
commit a12e1f2568
3 changed files with 5 additions and 12 deletions

View file

@ -234,7 +234,7 @@ Label::Label(wxWindow *parent, wxFont const &font, wxString const &text, long st
{
this->font = font;
SetFont(font);
SetForegroundColour(wxColour("#262E30"));
SetForegroundColour(*wxBLACK);
SetBackgroundColour(StaticBox::GetParentBackgroundColor(parent));
SetForegroundColour("#262E30");
if (style & LB_PROPAGATE_MOUSE_EVENT) {