FIX: hyperlink style and size of status label in media panel

Change-Id: I06431002ef7c86f6992c4c3cc48932503e2aab00
This commit is contained in:
chunmao.guo 2022-10-11 14:52:48 +08:00 committed by Lane.Wei
parent 0239cf34a1
commit 17076cc1bd
3 changed files with 13 additions and 6 deletions

View file

@ -109,6 +109,8 @@ Label::Label(wxWindow *parent, wxFont const &font, wxString const &text, long st
void Label::SetWindowStyleFlag(long style)
{
if (style == GetWindowStyle())
return;
wxStaticText::SetWindowStyleFlag(style);
if (style & LB_HYPERLINK) {
this->color = GetForegroundColour();