summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-12-19 20:21:30 +0100
committerCarl Hetherington <cth@carlh.net>2025-09-03 10:07:15 +0200
commit60359aa72cb4a835f889853b6fc38d394d55c853 (patch)
tree30223d8bb32c70e64c8c5384ddb2fd0bcd9b6eb0
parent177fb1ff7f954b5bb6b78008b70bd60d75f4d1c2 (diff)
Use a default constructor.
-rw-r--r--src/wx/timeline_reels_view.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/timeline_reels_view.cc b/src/wx/timeline_reels_view.cc
index 5f2a78079..6c0ec49ff 100644
--- a/src/wx/timeline_reels_view.cc
+++ b/src/wx/timeline_reels_view.cc
@@ -71,7 +71,7 @@ TimelineReelsView::do_paint (wxGraphicsContext* gc, list<dcpomatic::Rect<int>>)
gc->SetPen(*wxThePenList->FindOrCreatePen(colour, 1, wxPENSTYLE_SOLID));
auto path = gc->CreatePath ();
- path.MoveToPoint (time_x (DCPTime (0)), _y);
+ path.MoveToPoint(time_x({}), _y);
path.AddLineToPoint (time_x (_timeline.film()->length()), _y);
gc->StrokePath (path);