Fix bad redraw when dragging content views.
authorCarl Hetherington <cth@carlh.net>
Sun, 12 Aug 2018 21:28:37 +0000 (22:28 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 12 Aug 2018 21:28:37 +0000 (22:28 +0100)
src/wx/timeline.cc

index dc02343..a8c1578 100644 (file)
@@ -754,7 +754,7 @@ Timeline::set_position_from_event (wxMouseEvent& ev)
 void
 Timeline::force_redraw (dcpomatic::Rect<int> const & r)
 {
-       RefreshRect (wxRect (r.x, r.y, r.width, r.height), false);
+       _main_canvas->RefreshRect (wxRect (r.x, r.y, r.width, r.height), false);
 }
 
 shared_ptr<const Film>