summaryrefslogtreecommitdiff
path: root/src/wx/timeline.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-08-12 22:28:37 +0100
committerCarl Hetherington <cth@carlh.net>2018-08-12 22:28:37 +0100
commitf9b23b0d8aab711e5a19b8cd0e737fca376724be (patch)
tree0fde22b4ee080d47b89272c67b069eece24ce3d9 /src/wx/timeline.cc
parent3c1fb63a919fd14c1edd6fbd8f8c2f2883b21011 (diff)
Fix bad redraw when dragging content views.
Diffstat (limited to 'src/wx/timeline.cc')
-rw-r--r--src/wx/timeline.cc2
1 files changed, 1 insertions, 1 deletions
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<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>