summaryrefslogtreecommitdiff
path: root/src/wx/playlist_controls.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/playlist_controls.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/playlist_controls.cc')
-rw-r--r--src/wx/playlist_controls.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wx/playlist_controls.cc b/src/wx/playlist_controls.cc
index 171b5a830..ce6cb87e0 100644
--- a/src/wx/playlist_controls.cc
+++ b/src/wx/playlist_controls.cc
@@ -69,7 +69,7 @@ PlaylistControls::PlaylistControls(wxWindow* parent, FilmViewer& viewer)
_button_sizer->Add (_next_button, 0, wxEXPAND);
_spl_view = new wxListCtrl (this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT | wxLC_NO_HEADER);
- _spl_view->AppendColumn (wxT(""), wxLIST_FORMAT_LEFT, 740);
+ _spl_view->AppendColumn({}, wxLIST_FORMAT_LEFT, 740);
auto left_sizer = new wxBoxSizer(wxVERTICAL);
auto e_sizer = new wxBoxSizer(wxHORIZONTAL);
@@ -104,8 +104,8 @@ PlaylistControls::PlaylistControls(wxWindow* parent, FilmViewer& viewer)
left_sizer->Add (_content_view, 1, wxLEFT | wxRIGHT | wxBOTTOM | wxEXPAND, DCPOMATIC_SIZER_GAP);
_current_spl_view = new wxListCtrl (this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT | wxLC_NO_HEADER);
- _current_spl_view->AppendColumn (wxT(""), wxLIST_FORMAT_LEFT, 500);
- _current_spl_view->AppendColumn (wxT(""), wxLIST_FORMAT_LEFT, 80);
+ _current_spl_view->AppendColumn({}, wxLIST_FORMAT_LEFT, 500);
+ _current_spl_view->AppendColumn({}, wxLIST_FORMAT_LEFT, 80);
e_sizer->Add (left_sizer, 1, wxALL | wxEXPAND, DCPOMATIC_SIZER_GAP);
e_sizer->Add (_current_spl_view, 1, wxALL | wxEXPAND, DCPOMATIC_SIZER_GAP);