mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-14 02:07:54 -06:00
ENH:wxStaticText set the default foreground colour
Change-Id: Ifb03554848bc869f8605fb10945e7681147204d5
This commit is contained in:
parent
64a635608c
commit
4d8d4cb69c
13 changed files with 29 additions and 0 deletions
|
@ -31,6 +31,7 @@ HMSNotifyItem::HMSNotifyItem(wxWindow *parent, HMSItem& item)
|
|||
m_bitmap_notify->SetBitmap(get_notify_bitmap());
|
||||
|
||||
m_hms_content = new wxStaticText(m_panel_hms, wxID_ANY, "", wxDefaultPosition, wxDefaultSize, wxST_ELLIPSIZE_END);
|
||||
m_hms_content->SetForegroundColour(*wxBLACK);
|
||||
m_hms_content->SetSize(HMS_NOTIFY_ITEM_TEXT_SIZE);
|
||||
m_hms_content->SetMinSize(HMS_NOTIFY_ITEM_TEXT_SIZE);
|
||||
m_hms_content->SetLabelText(_L(wxGetApp().get_hms_query()->query_hms_msg(m_hms_item.get_long_error_code())));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue