From 0af0327d607e2736f2589476d12df4f68ba199cd Mon Sep 17 00:00:00 2001 From: SoftFever Date: Wed, 25 Mar 2026 11:30:21 +0800 Subject: [PATCH] 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(). --- src/slic3r/GUI/SyncAmsInfoDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/SyncAmsInfoDialog.cpp b/src/slic3r/GUI/SyncAmsInfoDialog.cpp index b88c0d7605..a819464a86 100644 --- a/src/slic3r/GUI/SyncAmsInfoDialog.cpp +++ b/src/slic3r/GUI/SyncAmsInfoDialog.cpp @@ -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");