C++11 tidying.
[dcpomatic.git] / src / wx / self_dkdm_dialog.cc
index 4c10c8f6bce7ad58ff3a1c775122312229fcf3c2..71ea089dd4e30574aeff1eff05912ba29a6348ce 100644 (file)
@@ -49,10 +49,10 @@ using std::pair;
 using std::cout;
 using std::vector;
 using std::make_pair;
-using boost::shared_ptr;
+using std::shared_ptr;
 using boost::bind;
 
-SelfDKDMDialog::SelfDKDMDialog (wxWindow* parent, boost::shared_ptr<const Film> film)
+SelfDKDMDialog::SelfDKDMDialog (wxWindow* parent, std::shared_ptr<const Film> film)
        : wxDialog (parent, wxID_ANY, _("Make DKDM for DCP-o-matic"))
 {
        /* Main sizer */
@@ -65,17 +65,17 @@ SelfDKDMDialog::SelfDKDMDialog (wxWindow* parent, boost::shared_ptr<const Film>
        /* Sub-heading: CPL */
        wxStaticText* h = new StaticText (this, _("CPL"));
        h->SetFont (subheading_font);
-       vertical->Add (h, 0, wxALIGN_CENTER_VERTICAL, DCPOMATIC_SIZER_Y_GAP * 2);
+       vertical->Add (h);
        _cpl = new KDMCPLPanel (this, film->cpls ());
        vertical->Add (_cpl);
 
        /* Sub-heading: output */
        h = new StaticText (this, _("Output"));
        h->SetFont (subheading_font);
-       vertical->Add (h, 0, wxALIGN_CENTER_VERTICAL | wxTOP, DCPOMATIC_SIZER_Y_GAP * 2);
+       vertical->Add (h, 0, wxTOP, DCPOMATIC_SIZER_Y_GAP * 2);
 
        _internal = new wxRadioButton (this, wxID_ANY, _("Save to KDM Creator tool's list"));
-       vertical->Add (_internal, 0, wxALIGN_CENTER_VERTICAL | wxTOP, DCPOMATIC_SIZER_Y_GAP);
+       vertical->Add (_internal, 0, wxTOP, DCPOMATIC_SIZER_Y_GAP);
 
        wxBoxSizer* w = new wxBoxSizer (wxHORIZONTAL);