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/dcp_referencing_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/dcp_referencing_dialog.cc')
| -rw-r--r-- | src/wx/dcp_referencing_dialog.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/dcp_referencing_dialog.cc b/src/wx/dcp_referencing_dialog.cc index 853391bd3..9b1c61c12 100644 --- a/src/wx/dcp_referencing_dialog.cc +++ b/src/wx/dcp_referencing_dialog.cc @@ -126,7 +126,7 @@ DCPReferencingDialog::setup() _dcp_grid->Add(new StaticText(this, std_to_wx(dcp_content->name())), wxGBPosition(row, 0)); column = 1; for (auto const& part: all_parts) { - record.check_box[part] = new CheckBox(this, wxT("")); + record.check_box[part] = new CheckBox(this, {}); switch (part) { case Part::VIDEO: record.check_box[part]->set(dcp_content->reference_video()); @@ -149,7 +149,7 @@ DCPReferencingDialog::setup() ++row; auto add_problem = [this, &row](wxString const& cannot, string why_not) { - auto reason = new StaticText(this, cannot + wxT(": ") + std_to_wx(why_not)); + auto reason = new StaticText(this, cannot + char_to_wx(": ") + std_to_wx(why_not)); wxFont font(*wxNORMAL_FONT); font.SetStyle(wxFONTSTYLE_ITALIC); reason->SetFont(font); |
