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_timeline_audio_view.cc | |
| parent | a27964bd1794bb6a843873a0eaf3faa2c5cc317a (diff) | |
Remove some implicit conversions between wxString and std::string.
Diffstat (limited to 'src/wx/content_timeline_audio_view.cc')
| -rw-r--r-- | src/wx/content_timeline_audio_view.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/wx/content_timeline_audio_view.cc b/src/wx/content_timeline_audio_view.cc index cff0b5ed5..61960378e 100644 --- a/src/wx/content_timeline_audio_view.cc +++ b/src/wx/content_timeline_audio_view.cc @@ -62,9 +62,9 @@ ContentTimelineAudioView::label () const DCPOMATIC_ASSERT (ac); if (ac->gain() > 0.01) { - s += wxString::Format (" +%.1fdB", ac->gain()); + s += wxString::Format(char_to_wx(" +%.1fdB"), ac->gain()); } else if (ac->gain() < -0.01) { - s += wxString::Format (" %.1fdB", ac->gain()); + s += wxString::Format(char_to_wx(" %.1fdB"), ac->gain()); } if (ac->delay() > 0) { @@ -75,9 +75,9 @@ ContentTimelineAudioView::label () const auto mapped = ac->mapping().mapped_output_channels(); if (!mapped.empty ()) { - s += wxString::FromUTF8(" → "); + s += char_to_wx(" → "); for (auto i: mapped) { - s += std_to_wx(short_audio_channel_name(i)) + ", "; + s += std_to_wx(short_audio_channel_name(i)) + char_to_wx(", "); } s = s.Left(s.Length() - 2); } |
