From 80d4e2f514758f8167bfbff984ba1f195bf14eed Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 15 Feb 2021 01:39:22 +0100 Subject: [PATCH] Fix wx3.1.x alignment errors. --- src/wx/self_dkdm_dialog.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wx/self_dkdm_dialog.cc b/src/wx/self_dkdm_dialog.cc index ceaeff289..71ea089dd 100644 --- a/src/wx/self_dkdm_dialog.cc +++ b/src/wx/self_dkdm_dialog.cc @@ -65,17 +65,17 @@ SelfDKDMDialog::SelfDKDMDialog (wxWindow* parent, std::shared_ptr 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); -- 2.30.2