FIX: the wxString encoding problem

jira: [STUDIO-10757]
Change-Id: If4ebe6f93430f108ffde91448913a2e639ced3c8
(cherry picked from commit 27bb14eb226c8b9920d37b9940cb3d2ef6ec6f2d)
This commit is contained in:
xin.zhang 2025-03-07 14:09:03 +08:00 committed by Noisyfox
parent 6632db0758
commit 95d7da6972

View file

@ -881,7 +881,7 @@ void SelectMachineDialog::init_bind()
if (!obj) return;
if (obj->dev_id == e.GetString()) {
m_comboBox_printer->SetValue(obj->dev_name + "(LAN)");
m_comboBox_printer->SetValue(wxString::FromUTF8(obj->dev_name) + "(LAN)");
}
}
});