Emit no audio from DCPs if none is mapped
[dcpomatic.git] / src / wx / report_problem_dialog.cc
index 5497908ca69b413336412bb52530ad9fe2be7a4b..4d8df87efe0351c8370ea990757e699405d886b3 100644 (file)
 #include "lib/config.h"
 #include "lib/job_manager.h"
 #include "lib/send_problem_report_job.h"
+#include <dcp/warnings.h>
+LIBDCP_DISABLE_WARNINGS
 #include <wx/sizer.h>
+LIBDCP_ENABLE_WARNINGS
 
 
 using std::make_shared;
@@ -71,7 +74,7 @@ ReportProblemDialog::ReportProblemDialog (wxWindow* parent, shared_ptr<Film> fil
        _table->Add (_send_logs, 1, wxEXPAND);
        _table->AddSpacer (0);
 
-       add_label_to_sizer (_table, this, _("Your email address"), true);
+       add_label_to_sizer (_table, this, _("Your email address"), true, 0, wxALIGN_CENTRE_VERTICAL);
        _email = new wxTextCtrl (this, wxID_ANY, wxT (""));
        _email->SetValue (std_to_wx (Config::instance()->kdm_from ()));
        _table->Add (_email, 1, wxEXPAND);