Emit no audio from DCPs if none is mapped
[dcpomatic.git] / src / wx / dkdm_output_panel.cc
index cc02721ed15d9ec7f08a905ee414410de40fd7d7..952a7d90425d7c1a48affdf2eff5d4fd02eb2c03 100644 (file)
@@ -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,
+                                       {}
                                        )
                                );
                }