diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-08-10 00:41:52 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-08-17 12:59:25 +0200 |
| commit | dc97c7cde9937a5c19a9412b5877e854974006a9 (patch) | |
| tree | e55e1297f76e7dbd8845b95d40f546570672e482 /src/wx/content_view.cc | |
| parent | 1b01a029fa4fc5768c9d25c206157b8ab00f6edc (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/content_view.cc')
| -rw-r--r-- | src/wx/content_view.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wx/content_view.cc b/src/wx/content_view.cc index 4f20bdd02..7a34906dd 100644 --- a/src/wx/content_view.cc +++ b/src/wx/content_view.cc @@ -54,11 +54,11 @@ using namespace dcpomatic; ContentView::ContentView (wxWindow* parent) : wxListCtrl (parent, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT | wxLC_NO_HEADER) { - AppendColumn (wxT(""), wxLIST_FORMAT_LEFT, 80); + AppendColumn({}, wxLIST_FORMAT_LEFT, 80); /* type */ - AppendColumn (wxT(""), wxLIST_FORMAT_LEFT, 80); + AppendColumn({}, wxLIST_FORMAT_LEFT, 80); /* annotation text */ - AppendColumn (wxT(""), wxLIST_FORMAT_LEFT, 580); + AppendColumn({}, wxLIST_FORMAT_LEFT, 580); } |
