summaryrefslogtreecommitdiff
path: root/src/wx/timing_panel.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-08-12 22:03:11 +0200
committerCarl Hetherington <cth@carlh.net>2021-08-12 23:18:53 +0200
commit19e47294d1de485a12dccf2c25bec0c8144049e8 (patch)
tree6dfdfc46bf6fbf4514e0ec303d094dc03992a16f /src/wx/timing_panel.cc
parent423996af81218d48dbeaccef52ff822e02c43128 (diff)
Fix flickering black square when selecting content on Windows (#1866).
Diffstat (limited to 'src/wx/timing_panel.cc')
-rw-r--r--src/wx/timing_panel.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/wx/timing_panel.cc b/src/wx/timing_panel.cc
index f251e3c93..1f2928e01 100644
--- a/src/wx/timing_panel.cc
+++ b/src/wx/timing_panel.cc
@@ -66,6 +66,13 @@ TimingPanel::TimingPanel (ContentPanel* p, weak_ptr<FilmViewer> viewer)
, _viewer (viewer)
, _film_content_changed_suspender (boost::bind(&TimingPanel::film_content_changed, this, _1))
{
+
+}
+
+
+void
+TimingPanel::create ()
+{
wxSize size = TimecodeBase::size (this);
for (int i = 0; i < 3; ++i) {
@@ -123,6 +130,8 @@ TimingPanel::TimingPanel (ContentPanel* p, weak_ptr<FilmViewer> viewer)
setup_sensitivity ();
add_to_grid ();
+
+ _sizer->Layout ();
}
void