summaryrefslogtreecommitdiff
path: root/src/wx/download_certificate_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/download_certificate_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/download_certificate_panel.cc')
-rw-r--r--src/wx/download_certificate_panel.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/download_certificate_panel.cc b/src/wx/download_certificate_panel.cc
index 3f1509f60..643265927 100644
--- a/src/wx/download_certificate_panel.cc
+++ b/src/wx/download_certificate_panel.cc
@@ -47,7 +47,7 @@ DownloadCertificatePanel::DownloadCertificatePanel (DownloadCertificateDialog* d
_overall_sizer->Add (_table, 1, wxEXPAND | wxALL, DCPOMATIC_DIALOG_BORDER);
add_label_to_sizer (_table, this, _("Serial number"), true, 0, wxALIGN_CENTER_VERTICAL);
- _serial = new wxTextCtrl (this, wxID_ANY, wxT (""), wxDefaultPosition, wxSize (300, -1));
+ _serial = new wxTextCtrl(this, wxID_ANY, {}, wxDefaultPosition, wxSize (300, -1));
_table->Add (_serial, 1, wxEXPAND);
_serial->Bind (wxEVT_TEXT, boost::bind (&DownloadCertificateDialog::setup_sensitivity, _dialog));