projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1a18ab4
)
Fix wxWidgets assertion on opening the video filters selector.
author
Carl Hetherington
<cth@carlh.net>
Tue, 4 Oct 2022 18:50:00 +0000
(20:50 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 4 Oct 2022 18:50:00 +0000
(20:50 +0200)
src/wx/filter_dialog.cc
patch
|
blob
|
history
diff --git
a/src/wx/filter_dialog.cc
b/src/wx/filter_dialog.cc
index 3dbb482364bcd6e221e82b88fe99be6c6585f7f5..c4317bac1cd871805374a690658c5f2062bcf954 100644
(file)
--- a/
src/wx/filter_dialog.cc
+++ b/
src/wx/filter_dialog.cc
@@
-74,15
+74,16
@@
FilterDialog::FilterDialog (wxWindow* parent, vector<Filter const *> const & act
sizer->AddSpacer (6);
}
sizer->AddSpacer (6);
}
- auto buttons = CreateSeparatedButtonSizer (wxOK);
- if (buttons) {
- sizer->Add (buttons, wxSizerFlags().Expand().DoubleBorder());
- }
-
panel->SetSizer (sizer);
auto overall_sizer = new wxBoxSizer (wxVERTICAL);
overall_sizer->Add (panel, 1, wxTOP | wxLEFT | wxRIGHT, DCPOMATIC_SIZER_GAP);
panel->SetSizer (sizer);
auto overall_sizer = new wxBoxSizer (wxVERTICAL);
overall_sizer->Add (panel, 1, wxTOP | wxLEFT | wxRIGHT, DCPOMATIC_SIZER_GAP);
+
+ auto buttons = CreateSeparatedButtonSizer(wxOK);
+ if (buttons) {
+ overall_sizer->Add(buttons, wxSizerFlags().Expand().DoubleBorder());
+ }
+
SetSizerAndFit (overall_sizer);
}
SetSizerAndFit (overall_sizer);
}