ENH:optimized display of German and Swedish

jira:[STUDIO-3722]

Change-Id: I4562b1d55c709a6aac56f91601b12ae3f3459fd1
(cherry picked from commit e4cd09589685bdb1f7bdefada5f2ae28fb1e9552)
This commit is contained in:
tao wang 2023-08-31 09:15:02 +08:00 committed by Lane.Wei
parent e591e898af
commit 36b8abf24e

View file

@ -1953,10 +1953,10 @@ void SelectMachineDialog::update_priner_status_msg(wxString msg, bool is_warning
} else {
msg = format_text(msg);
auto str_new = msg.ToStdString();
auto str_new = msg.utf8_string();
stripWhiteSpace(str_new);
auto str_old = m_statictext_printer_msg->GetLabel().ToStdString();
auto str_old = m_statictext_printer_msg->GetLabel().utf8_string();
stripWhiteSpace(str_old);
if (str_new != str_old) {