Missing std_to_wx.
authorCarl Hetherington <cth@carlh.net>
Thu, 29 Sep 2016 10:37:07 +0000 (11:37 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 29 Sep 2016 10:37:07 +0000 (11:37 +0100)
src/wx/name_format_editor.cc

index 160a554c01d3289216f057a27b0dfd7e51c9f1c0..309e04c6044c93452db7c99af6f96ae40d512d27 100644 (file)
@@ -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) {