diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-08-10 00:41:52 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-09-03 17:02:24 +0200 |
| commit | c97de27f9c5364b6f126016c5e1f31a76d5ce565 (patch) | |
| tree | f29bd3c22e60f9abdfbe46f145279d9af7aa7256 /src/wx/audio_dialog.cc | |
| parent | 5ed17cd197aa743922da18e2a5753f746d38122e (diff) | |
Remove use of wxT in favour of char_to_wx().
The wxWidgets docs advise against its use these days.
Diffstat (limited to 'src/wx/audio_dialog.cc')
| -rw-r--r-- | src/wx/audio_dialog.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/wx/audio_dialog.cc b/src/wx/audio_dialog.cc index 80a8b8c71..f0bd80ca0 100644 --- a/src/wx/audio_dialog.cc +++ b/src/wx/audio_dialog.cc @@ -87,19 +87,19 @@ AudioDialog::AudioDialog (wxWindow* parent, shared_ptr<Film> film, FilmViewer& v auto left = new wxBoxSizer (wxVERTICAL); - _cursor = new StaticText (this, wxT("Cursor: none")); + _cursor = new StaticText(this, char_to_wx("Cursor: none")); left->Add (_cursor, 0, wxTOP, DCPOMATIC_SIZER_Y_GAP); _plot = new AudioPlot (this, viewer); left->Add (_plot, 1, wxTOP | wxEXPAND, 12); - _sample_peak = new StaticText (this, wxT ("")); + _sample_peak = new StaticText(this, {}); left->Add (_sample_peak, 0, wxTOP, DCPOMATIC_SIZER_Y_GAP); - _true_peak = new StaticText (this, wxT ("")); + _true_peak = new StaticText(this, {}); left->Add (_true_peak, 0, wxTOP, DCPOMATIC_SIZER_Y_GAP); - _integrated_loudness = new StaticText (this, wxT ("")); + _integrated_loudness = new StaticText(this, {}); left->Add (_integrated_loudness, 0, wxTOP, DCPOMATIC_SIZER_Y_GAP); - _loudness_range = new StaticText (this, wxT ("")); + _loudness_range = new StaticText(this, {}); left->Add (_loudness_range, 0, wxTOP, DCPOMATIC_SIZER_Y_GAP); - _leqm = new StaticText (this, wxT("")); + _leqm = new StaticText(this, {}); left->Add (_leqm, 0, wxTOP, DCPOMATIC_SIZER_Y_GAP); lr_sizer->Add (left, 1, wxALL | wxEXPAND, 12); |
