X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Freport_problem_dialog.cc;h=4d8df87efe0351c8370ea990757e699405d886b3;hb=refs%2Fheads%2Fv2.16.x-old;hp=5497908ca69b413336412bb52530ad9fe2be7a4b;hpb=be436f229587905e89ac768b3c57b0e983cfe7fa;p=dcpomatic.git diff --git a/src/wx/report_problem_dialog.cc b/src/wx/report_problem_dialog.cc index 5497908ca..4d8df87ef 100644 --- a/src/wx/report_problem_dialog.cc +++ b/src/wx/report_problem_dialog.cc @@ -26,7 +26,10 @@ #include "lib/config.h" #include "lib/job_manager.h" #include "lib/send_problem_report_job.h" +#include +LIBDCP_DISABLE_WARNINGS #include +LIBDCP_ENABLE_WARNINGS using std::make_shared; @@ -71,7 +74,7 @@ ReportProblemDialog::ReportProblemDialog (wxWindow* parent, shared_ptr 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);