summaryrefslogtreecommitdiff
path: root/src/wx/kdm_cpl_panel.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/kdm_cpl_panel.cc')
-rw-r--r--src/wx/kdm_cpl_panel.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wx/kdm_cpl_panel.cc b/src/wx/kdm_cpl_panel.cc
index e07df105d..eb02638a2 100644
--- a/src/wx/kdm_cpl_panel.cc
+++ b/src/wx/kdm_cpl_panel.cc
@@ -104,12 +104,12 @@ KDMCPLPanel::update_cpl_summary ()
void
KDMCPLPanel::cpl_browse_clicked ()
{
- auto d = make_wx<wxFileDialog>(this, _("Select CPL XML file"), wxEmptyString, wxEmptyString, char_to_wx("*.xml"));
- if (d->ShowModal() == wxID_CANCEL) {
+ wxFileDialog dialog(this, _("Select CPL XML file"), wxEmptyString, wxEmptyString, char_to_wx("*.xml"));
+ if (dialog.ShowModal() == wxID_CANCEL) {
return;
}
- boost::filesystem::path cpl_file (wx_to_std (d->GetPath ()));
+ boost::filesystem::path cpl_file(wx_to_std(dialog.GetPath()));
boost::filesystem::path dcp_dir = cpl_file.parent_path ();
try {