summaryrefslogtreecommitdiff
path: root/src/wx/verify_dcp_result_panel.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/verify_dcp_result_panel.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/verify_dcp_result_panel.cc')
-rw-r--r--src/wx/verify_dcp_result_panel.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wx/verify_dcp_result_panel.cc b/src/wx/verify_dcp_result_panel.cc
index 672bca8e3..9f60a41f4 100644
--- a/src/wx/verify_dcp_result_panel.cc
+++ b/src/wx/verify_dcp_result_panel.cc
@@ -56,7 +56,7 @@ VerifyDCPResultPanel::VerifyDCPResultPanel(wxWindow* parent)
_pages[dcp::VerificationNote::Type::WARNING] = new wxRichTextCtrl(notebook, wxID_ANY, wxEmptyString, wxDefaultPosition, {400, 300}, wxRE_READONLY);
notebook->AddPage(_pages[dcp::VerificationNote::Type::WARNING], _("Warnings"));
- _summary = new wxStaticText(this, wxID_ANY, wxT(""));
+ _summary = new wxStaticText(this, wxID_ANY, {});
sizer->Add(_summary, 0, wxALL, DCPOMATIC_DIALOG_BORDER);
auto save_sizer = new wxBoxSizer(wxHORIZONTAL);
@@ -662,7 +662,7 @@ void
VerifyDCPResultPanel::save_text_report()
{
if (_job) {
- save<dcp::TextFormatter>(this, wxT("Text files (*.txt)|*.txt"), _job->result());
+ save<dcp::TextFormatter>(this, char_to_wx("Text files (*.txt)|*.txt"), _job->result());
}
}
@@ -671,6 +671,6 @@ void
VerifyDCPResultPanel::save_html_report()
{
if (_job) {
- save<dcp::HTMLFormatter>(this, wxT("HTML files (*.htm;*html)|*.htm;*.html"), _job->result());
+ save<dcp::HTMLFormatter>(this, char_to_wx("HTML files (*.htm;*html)|*.htm;*.html"), _job->result());
}
}