Commit 5f1e61b0 authored by twanvl's avatar twanvl

compatibility with wxWdigets 2.9+: Vector2D use *0.5 instead of /2 to prevent...

compatibility with wxWdigets 2.9+: Vector2D use *0.5 instead of /2 to prevent ambiguous conversion errors
parent d2d5d58b
...@@ -50,7 +50,7 @@ void ErrorTextElement::draw(RotatedDC& dc, double scale, const RealRect& rect, c ...@@ -50,7 +50,7 @@ void ErrorTextElement::draw(RotatedDC& dc, double scale, const RealRect& rect, c
} }
if (pos.x < rect.right()) { if (pos.x < rect.right()) {
// final piece // final piece
dc.DrawLine(pos - dy, pos + dx / 2); dc.DrawLine(pos - dy, pos + dx * 0.5);
} }
} }
// Draw the contents // Draw the contents
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment