Amended by lukasmatena: changed mb_str() to ToUTF8()
This commit is contained in:
Benjamin Greiner 2020-01-06 11:33:18 -08:00 committed by Lukas Matena
parent 598ec04639
commit a877147afd
2 changed files with 2 additions and 2 deletions

View file

@ -274,7 +274,7 @@ void GLCanvas3D::LayersEditing::render_overlay(const GLCanvas3D& canvas) const
if (ImGui::IsItemHovered())
{
ImGui::BeginTooltip();
ImGui::TextUnformatted(_(L("Higher print quality versus higher print speed.")));
ImGui::TextUnformatted(_(L("Higher print quality versus higher print speed.")).ToUTF8());
ImGui::EndTooltip();
}

View file

@ -603,7 +603,7 @@ void apply_extruder_selector(wxBitmapComboBox** ctrl,
++i;
}
(*ctrl)->Append(use_full_item_name ? wxString::Format("%s %d", str, i) : std::to_string(i), *bmp);
(*ctrl)->Append(use_full_item_name ? wxString::Format("%s %d", str, i) : wxString::Format("%d", i), *bmp);
++i;
}
(*ctrl)->SetSelection(0);