Fix narrow/wide string concat in SyncAmsInfoDialog.cpp

Same pattern as earlier fixes: const char[] + std::wstring fails in
wx 3.3 where wxUSE_STD_CONTAINERS=ON. Wrap with wxString().
This commit is contained in:
SoftFever
2026-03-25 11:30:21 +08:00
parent 7ea69199fd
commit 0af0327d60

View File

@@ -1079,7 +1079,7 @@ void SyncAmsInfoDialog::check_empty_project()
if (!temp_plate->get_objects_on_this_plate().empty()) {
if (m_is_empty_project) { m_is_empty_project = false; }
if (i < 9) {
m_plate_number_choices_str.Add("0" + std::to_wstring(i + 1));
m_plate_number_choices_str.Add(wxString("0") + std::to_wstring(i + 1));
}
else if (i == 9) {
m_plate_number_choices_str.Add("10");