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

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1546 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2010-12-07 21:17:51 +00:00
parent 075122668b
commit a1ce4740c2
+1 -1
View File
@@ -50,7 +50,7 @@ void ErrorTextElement::draw(RotatedDC& dc, double scale, const RealRect& rect, c
}
if (pos.x < rect.right()) {
// final piece
dc.DrawLine(pos - dy, pos + dx / 2);
dc.DrawLine(pos - dy, pos + dx * 0.5);
}
}
// Draw the contents