diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-08-12 22:03:11 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-08-12 23:18:53 +0200 |
| commit | 19e47294d1de485a12dccf2c25bec0c8144049e8 (patch) | |
| tree | 6dfdfc46bf6fbf4514e0ec303d094dc03992a16f /src/wx/video_panel.cc | |
| parent | 423996af81218d48dbeaccef52ff822e02c43128 (diff) | |
Fix flickering black square when selecting content on Windows (#1866).
Diffstat (limited to 'src/wx/video_panel.cc')
| -rw-r--r-- | src/wx/video_panel.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/wx/video_panel.cc b/src/wx/video_panel.cc index c5a48f986..07a929e10 100644 --- a/src/wx/video_panel.cc +++ b/src/wx/video_panel.cc @@ -65,6 +65,13 @@ using namespace boost::placeholders; VideoPanel::VideoPanel (ContentPanel* p) : ContentSubPanel (p, _("Video")) { + +} + + +void +VideoPanel::create () +{ _reference = new CheckBox (this, _("Use this DCP's video as OV and make VF")); _reference_note = new StaticText (this, wxT("")); _reference_note->Wrap (200); @@ -221,6 +228,8 @@ VideoPanel::VideoPanel (ContentPanel* p) _top_bottom_link->Bind (wxEVT_TOGGLEBUTTON, boost::bind(&VideoPanel::top_bottom_link_clicked, this)); add_to_grid (); + + _sizer->Layout (); } |
