X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fdkdm_output_panel.cc;h=952a7d90425d7c1a48affdf2eff5d4fd02eb2c03;hb=b39dbb7cf1b0352cf0eb3af4bf4929556355bff5;hp=cc02721ed15d9ec7f08a905ee414410de40fd7d7;hpb=8de886e26ba382f5593069386e3c7d1ff35d4192;p=dcpomatic.git diff --git a/src/wx/dkdm_output_panel.cc b/src/wx/dkdm_output_panel.cc index cc02721ed..952a7d904 100644 --- a/src/wx/dkdm_output_panel.cc +++ b/src/wx/dkdm_output_panel.cc @@ -94,8 +94,8 @@ DKDMOutputPanel::DKDMOutputPanel (wxWindow* parent) table->Add (_email, 1, wxEXPAND); table->AddSpacer (0); - _write_to->Bind (wxEVT_CHECKBOX, boost::bind(&DKDMOutputPanel::setup_sensitivity, this)); - _email->Bind (wxEVT_CHECKBOX, boost::bind(&DKDMOutputPanel::setup_sensitivity, this)); + _write_to->bind(&DKDMOutputPanel::setup_sensitivity, this); + _email->bind(&DKDMOutputPanel::setup_sensitivity, this); SetSizer (table); } @@ -178,7 +178,8 @@ DKDMOutputPanel::make ( kdms, _filename_format->get(), _filename_format->get(), - name + name, + {} ) ); }