Fix wx3.1.x alignment errors.
authorCarl Hetherington <cth@carlh.net>
Mon, 15 Feb 2021 00:39:22 +0000 (01:39 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 15 Feb 2021 02:16:16 +0000 (03:16 +0100)
src/wx/self_dkdm_dialog.cc

index ceaeff289985e5f6a399a3516729d4b11228549a..71ea089dd4e30574aeff1eff05912ba29a6348ce 100644 (file)
@@ -65,17 +65,17 @@ SelfDKDMDialog::SelfDKDMDialog (wxWindow* parent, std::shared_ptr<const Film> fi
        /* 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);