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/playlist_controls.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/playlist_controls.cc')
| -rw-r--r-- | src/wx/playlist_controls.cc | 6 |
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); |
