FIX: [STUDIO-3547] use Label instead of ErrorMsgStaticText

Change-Id: Ibf813bea7ced38a6a303d6d4bac3cac542663ba0
This commit is contained in:
chunmao.guo 2023-07-04 08:46:04 +08:00 committed by Lane.Wei
parent a4b3a5c000
commit 0162fceb98
6 changed files with 98 additions and 94 deletions

View file

@ -5,6 +5,7 @@
#define LB_HYPERLINK 0x0020
#define LB_PROPAGATE_MOUSE_EVENT 0x0040
#define LB_AUTO_WRAP 0x0080
class Label : public wxStaticText
@ -21,8 +22,13 @@ public:
void Wrap(int width);
private:
wxFont font;
wxColour color;
void OnSize(wxSizeEvent & evt);
private:
wxFont m_font;
wxColour m_color;
wxString m_text;
bool m_skip_size_evt = false;
public:
static wxFont Head_48;