summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-02-15 01:39:22 +0100
committerCarl Hetherington <cth@carlh.net>2021-02-15 03:16:16 +0100
commit80d4e2f514758f8167bfbff984ba1f195bf14eed (patch)
tree5589c54080933218a56b120ab79951761bc10c18
parent4f09ec8b35c5e4c32d17b340c6840699c85f280a (diff)
Fix wx3.1.x alignment errors.
-rw-r--r--src/wx/self_dkdm_dialog.cc6
1 files 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<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);