Add DCPOMATIC_SUBHEADING_TOP_PAD.
[dcpomatic.git] / src / wx / dkdm_dialog.cc
index e9fd89304bce1dd34d9ef1a0fe94d93b5567a938..75e4e1aa1ce0b372a470592a76c8b7ae626936a3 100644 (file)
 #include "lib/kdm_with_metadata.h"
 #include <libcxml/cxml.h>
 #include <dcp/exceptions.h>
+#include <dcp/warnings.h>
+LIBDCP_DISABLE_WARNINGS
 #include <wx/listctrl.h>
 #include <wx/treectrl.h>
-#include <iostream>
+LIBDCP_ENABLE_WARNINGS
 
 
-using std::cout;
 using std::exception;
 using std::list;
 using std::make_pair;
@@ -105,7 +106,7 @@ DKDMDialog::DKDMDialog (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 DKDMOutputPanel (this);
        right->Add (_output, 0, wxEXPAND | wxTOP, DCPOMATIC_SIZER_GAP);