summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-10-18 23:34:31 +0100
committerCarl Hetherington <cth@carlh.net>2017-10-18 23:34:31 +0100
commit38b811d794ca2c3aec5b80e6e23532d4cb4d4a15 (patch)
tree7a2bcdc47aaff6ae06c0775fc064aedd417dfd22 /src
parentf23a04630806d47bcaf6894271365c49c288ba50 (diff)
Fix wx3.1 crash.
Diffstat (limited to 'src')
-rw-r--r--src/wx/video_panel.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/video_panel.cc b/src/wx/video_panel.cc
index 462f2bdae..fcd7af30a 100644
--- a/src/wx/video_panel.cc
+++ b/src/wx/video_panel.cc
@@ -184,7 +184,7 @@ VideoPanel::VideoPanel (ContentPanel* p)
wxSizer* s = new wxBoxSizer (wxHORIZONTAL);
_filters = new wxStaticText (this, wxID_ANY, _("None"), wxDefaultPosition, size);
- s->Add (_filters, 1, wxEXPAND | wxALIGN_CENTER_VERTICAL | wxTOP | wxBOTTOM | wxRIGHT, 6);
+ s->Add (_filters, 1, wxALIGN_CENTER_VERTICAL | wxTOP | wxBOTTOM | wxRIGHT, 6);
_filters_button = new wxButton (this, wxID_ANY, _("Edit..."));
s->Add (_filters_button, 0, wxALIGN_CENTER_VERTICAL);
@@ -204,7 +204,7 @@ VideoPanel::VideoPanel (ContentPanel* p)
/// TRANSLATORS: translate the word "Custom" here; do not include the "Colour|" prefix
_colour_conversion->Append (S_("Colour|Custom"));
- s->Add (_colour_conversion, 1, wxEXPAND | wxALIGN_CENTER_VERTICAL | wxTOP | wxBOTTOM | wxRIGHT, 6);
+ s->Add (_colour_conversion, 1, wxALIGN_CENTER_VERTICAL | wxTOP | wxBOTTOM | wxRIGHT, 6);
_edit_colour_conversion_button = new wxButton (this, wxID_ANY, _("Edit..."));
s->Add (_edit_colour_conversion_button, 0, wxALIGN_CENTER_VERTICAL);