From f9b23b0d8aab711e5a19b8cd0e737fca376724be Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 12 Aug 2018 22:28:37 +0100 Subject: [PATCH] Fix bad redraw when dragging content views. --- src/wx/timeline.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wx/timeline.cc b/src/wx/timeline.cc index dc0234376..a8c157833 100644 --- a/src/wx/timeline.cc +++ b/src/wx/timeline.cc @@ -754,7 +754,7 @@ Timeline::set_position_from_event (wxMouseEvent& ev) void Timeline::force_redraw (dcpomatic::Rect 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 -- 2.30.2