From: Carl Hetherington Date: Thu, 29 Sep 2016 10:37:07 +0000 (+0100) Subject: Missing std_to_wx. X-Git-Tag: v2.9.28~11 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=3721e30a5eece6a84276ee02540331393bcbfcfd Missing std_to_wx. --- diff --git a/src/wx/name_format_editor.cc b/src/wx/name_format_editor.cc index 160a554c0..309e04c60 100644 --- a/src/wx/name_format_editor.cc +++ b/src/wx/name_format_editor.cc @@ -64,7 +64,7 @@ NameFormatEditor::update_example () { _name.set_specification (wx_to_std (_specification->GetValue ())); - wxString example = wxString::Format (_("e.g. %s"), _name.get (_examples, _suffix)); + wxString example = wxString::Format (_("e.g. %s"), std_to_wx (_name.get (_examples, _suffix))); wxString wrapped; for (size_t i = 0; i < example.Length(); ++i) { if (i > 0 && (i % 40) == 0) {