From a1e70f87e43e5efe520d5ab9b384437e375567e0 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 3 Dec 2021 17:16:48 +0100 Subject: C++11 tidying. --- src/wx/timeline_time_axis_view.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wx/timeline_time_axis_view.cc b/src/wx/timeline_time_axis_view.cc index cd0b97d19..4dd480384 100644 --- a/src/wx/timeline_time_axis_view.cc +++ b/src/wx/timeline_time_axis_view.cc @@ -64,7 +64,7 @@ TimelineTimeAxisView::do_paint (wxGraphicsContext* gc, list int y = _y * _timeline.pixels_per_track() + 32; - wxGraphicsPath path = gc->CreatePath (); + auto path = gc->CreatePath (); path.MoveToPoint (0, y); path.AddLineToPoint (_timeline.width(), y); gc->StrokePath (path); -- cgit v1.2.3