summaryrefslogtreecommitdiff
path: root/src/wx/video_waveform_dialog.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-08-10 00:41:52 +0200
committerCarl Hetherington <cth@carlh.net>2024-09-03 17:02:24 +0200
commitc97de27f9c5364b6f126016c5e1f31a76d5ce565 (patch)
treef29bd3c22e60f9abdfbe46f145279d9af7aa7256 /src/wx/video_waveform_dialog.cc
parent5ed17cd197aa743922da18e2a5753f746d38122e (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/video_waveform_dialog.cc')
-rw-r--r--src/wx/video_waveform_dialog.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wx/video_waveform_dialog.cc b/src/wx/video_waveform_dialog.cc
index 0e3c6cf8c..9ed0d01c7 100644
--- a/src/wx/video_waveform_dialog.cc
+++ b/src/wx/video_waveform_dialog.cc
@@ -58,9 +58,9 @@ VideoWaveformDialog::VideoWaveformDialog(wxWindow* parent, weak_ptr<const Film>
wxBoxSizer* controls = new wxBoxSizer (wxHORIZONTAL);
_component = new wxChoice (this, wxID_ANY);
- _component->Append (wxT ("X"));
- _component->Append (wxT ("Y"));
- _component->Append (wxT ("Z"));
+ _component->Append(char_to_wx("X"));
+ _component->Append(char_to_wx("Y"));
+ _component->Append(char_to_wx("Z"));
add_label_to_sizer (controls, this, _("Component"), true, 0, wxLEFT | wxRIGHT | wxALIGN_CENTRE_VERTICAL);
controls->Add (_component, 1, wxALL, DCPOMATIC_SIZER_X_GAP);