summaryrefslogtreecommitdiff
path: root/src/wx/kdm_cpl_panel.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-08-09 02:02:20 +0200
committerCarl Hetherington <cth@carlh.net>2024-09-03 17:02:24 +0200
commit5527bdb269e355ca95aa91fe3907bfef0ef17ff4 (patch)
tree5dd2fc2e81cf193c9712606f43f1e13e1a6e46bf /src/wx/kdm_cpl_panel.cc
parenta27964bd1794bb6a843873a0eaf3faa2c5cc317a (diff)
Remove some implicit conversions between wxString and std::string.
Diffstat (limited to 'src/wx/kdm_cpl_panel.cc')
-rw-r--r--src/wx/kdm_cpl_panel.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/wx/kdm_cpl_panel.cc b/src/wx/kdm_cpl_panel.cc
index 523d0c369..e07df105d 100644
--- a/src/wx/kdm_cpl_panel.cc
+++ b/src/wx/kdm_cpl_panel.cc
@@ -52,13 +52,13 @@ KDMCPLPanel::KDMCPLPanel (wxWindow* parent, vector<CPLSummary> cpls)
/* CPL details */
auto table = new wxFlexGridSizer(2, DCPOMATIC_SIZER_X_GAP, DCPOMATIC_SIZER_Y_GAP);
add_label_to_sizer (table, this, _("DCP directory"), true);
- _dcp_directory = new StaticText (this, "");
+ _dcp_directory = new StaticText(this, {});
table->Add (_dcp_directory);
add_label_to_sizer (table, this, _("CPL ID"), true);
- _cpl_id = new StaticText (this, "");
+ _cpl_id = new StaticText(this, {});
table->Add (_cpl_id);
add_label_to_sizer (table, this, _("CPL annotation text"), true);
- _cpl_annotation_text = new StaticText (this, "");
+ _cpl_annotation_text = new StaticText(this, {});
table->Add (_cpl_annotation_text);
vertical->Add (table, 0, wxEXPAND | wxTOP, DCPOMATIC_SIZER_GAP + 2);
@@ -104,7 +104,7 @@ KDMCPLPanel::update_cpl_summary ()
void
KDMCPLPanel::cpl_browse_clicked ()
{
- auto d = make_wx<wxFileDialog>(this, _("Select CPL XML file"), wxEmptyString, wxEmptyString, "*.xml");
+ auto d = make_wx<wxFileDialog>(this, _("Select CPL XML file"), wxEmptyString, wxEmptyString, char_to_wx("*.xml"));
if (d->ShowModal() == wxID_CANCEL) {
return;
}