ENH:UI of network error prompt cannot be seen as a link

JIRA:STUDIO-3168
Change-Id: I05fdb746ec0e3ee955180b8ff122fb8a28e4ba8c
This commit is contained in:
hu.wang
2023-09-14 16:34:09 +08:00
committed by Lane.Wei
parent abd220dadd
commit 73cc51ac38
8 changed files with 10 additions and 13 deletions

View File

@@ -394,8 +394,7 @@ SendToPrinterDialog::SendToPrinterDialog(Plater *plater)
sizer_extra_info->Add(m_st_txt_extra_info, 0, wxALL, 0);
m_link_network_state = new Label(m_sw_print_failed_info, _L("Check the status of current system services"));
m_link_network_state->SetForegroundColour(0x00AE42);
m_link_network_state = new wxHyperlinkCtrl(m_sw_print_failed_info, wxID_ANY,_L("Check the status of current system services"),"");
m_link_network_state->SetFont(::Label::Body_12);
m_link_network_state->Bind(wxEVT_LEFT_DOWN, [this](auto& e) {wxGetApp().link_to_network_check(); });
m_link_network_state->Bind(wxEVT_ENTER_WINDOW, [this](auto& e) {m_link_network_state->SetCursor(wxCURSOR_HAND); });