Add DCPOMATIC_SUBHEADING_TOP_PAD.
[dcpomatic.git] / src / wx / kdm_dialog.cc
index 71556812264d81ea4029b6810f5d69c1ee942fdd..79f78b2327a24751f2b86be43e76a2e6285582ae 100644 (file)
 #include "lib/screen.h"
 #include <libcxml/cxml.h>
 #include <dcp/exceptions.h>
+#include <dcp/warnings.h>
+LIBDCP_DISABLE_WARNINGS
 #include <wx/listctrl.h>
 #include <wx/treectrl.h>
+LIBDCP_ENABLE_WARNINGS
 
 
 using std::exception;
@@ -105,7 +108,7 @@ KDMDialog::KDMDialog (wxWindow* parent, shared_ptr<const Film> film)
        /* Sub-heading: Output */
        h = new StaticText (this, _("Output"));
        h->SetFont (subheading_font);
-       right->Add (h, 0, wxTOP, DCPOMATIC_SIZER_Y_GAP * 2);
+       right->Add(h, 0, wxTOP, DCPOMATIC_SUBHEADING_TOP_PAD);
        _output = new KDMOutputPanel (this);
        right->Add (_output, 0, wxEXPAND | wxTOP, DCPOMATIC_SIZER_GAP);