diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-08-09 02:02:20 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-09-03 17:02:24 +0200 |
| commit | 5527bdb269e355ca95aa91fe3907bfef0ef17ff4 (patch) | |
| tree | 5dd2fc2e81cf193c9712606f43f1e13e1a6e46bf /src/wx/content_view.cc | |
| parent | a27964bd1794bb6a843873a0eaf3faa2c5cc317a (diff) | |
Remove some implicit conversions between wxString and std::string.
Diffstat (limited to 'src/wx/content_view.cc')
| -rw-r--r-- | src/wx/content_view.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/content_view.cc b/src/wx/content_view.cc index b2d6f86d1..4f20bdd02 100644 --- a/src/wx/content_view.cc +++ b/src/wx/content_view.cc @@ -132,7 +132,7 @@ ContentView::update () /* Add content from successful jobs and report errors */ for (auto i: jobs) { if (i->finished_in_error()) { - error_dialog(this, std_to_wx(i->error_summary()) + ".\n", std_to_wx(i->error_details())); + error_dialog(this, std_to_wx(i->error_summary()) + char_to_wx(".\n"), std_to_wx(i->error_details())); } else { add (i->content()); _content.push_back (i->content()); @@ -151,7 +151,7 @@ ContentView::add (shared_ptr<Content> content) it.SetColumn(0); auto length = content->approximate_length (); auto const hmsf = length.split (24); - it.SetText(wxString::Format("%02d:%02d:%02d", hmsf.h, hmsf.m, hmsf.s)); + it.SetText(wxString::Format(char_to_wx("%02d:%02d:%02d"), hmsf.h, hmsf.m, hmsf.s)); InsertItem(it); auto dcp = dynamic_pointer_cast<DCPContent>(content); |
