merged 2.2 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -323,7 +323,7 @@ void wxWindowDC::DoDrawArc( wxCoord x1, wxCoord y1, wxCoord x2, wxCoord y2, wxCo
|
||||
|
||||
wxCoord dx = xx1 - xxc;
|
||||
wxCoord dy = yy1 - yyc;
|
||||
double radius = sqrt (dx * dx + dy * dy);
|
||||
double radius = sqrt ((double)(dx * dx + dy * dy));
|
||||
wxCoord r = (wxCoord) radius;
|
||||
|
||||
double radius1, radius2;
|
||||
|
Reference in New Issue
Block a user