diff options
Diffstat (limited to 'src/wx/name_format_editor.cc')
| -rw-r--r-- | src/wx/name_format_editor.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wx/name_format_editor.cc b/src/wx/name_format_editor.cc index 67e2517be..8f325efaf 100644 --- a/src/wx/name_format_editor.cc +++ b/src/wx/name_format_editor.cc @@ -30,9 +30,9 @@ using std::string; NameFormatEditor::NameFormatEditor (wxWindow* parent, dcp::NameFormat name, dcp::NameFormat::Map titles, dcp::NameFormat::Map examples, string suffix) : _panel (new wxPanel(parent)) - , _example (new StaticText(_panel, "")) + , _example(new StaticText(_panel, {})) , _sizer (new wxBoxSizer(wxVERTICAL)) - , _specification (new wxTextCtrl(_panel, wxID_ANY, "")) + , _specification(new wxTextCtrl(_panel, wxID_ANY, {})) , _name (name) , _examples (examples) , _suffix (suffix) @@ -83,7 +83,7 @@ NameFormatEditor::update_example () wxString wrapped; for (size_t i = 0; i < example.Length(); ++i) { if (i > 0 && (i % 40) == 0) { - wrapped += "\n"; + wrapped += char_to_wx("\n"); } wrapped += example[i]; } |
