projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
211d9b0
)
C++11 tidying.
author
Carl Hetherington
<cth@carlh.net>
Fri, 3 Dec 2021 16:16:48 +0000
(17:16 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 3 Dec 2021 20:23:07 +0000
(21:23 +0100)
src/wx/timeline_time_axis_view.cc
patch
|
blob
|
history
diff --git
a/src/wx/timeline_time_axis_view.cc
b/src/wx/timeline_time_axis_view.cc
index cd0b97d193fdc21c1d8e8b2c35dc2d43221559a6..4dd4803848a90ffa838aae254e4f8d178efdd24c 100644
(file)
--- 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<dcpomatic::Rect<int>
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);