fixup for missing variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1007,6 +1007,7 @@ void wxDC::DoDrawArc( wxCoord x1, wxCoord y1,
|
|||||||
-atan2(double(yy2-yyc), double(xx2-xxc)) * RAD2DEG;
|
-atan2(double(yy2-yyc), double(xx2-xxc)) * RAD2DEG;
|
||||||
}
|
}
|
||||||
wxCoord alpha2 = wxCoord(radius2 - radius1);
|
wxCoord alpha2 = wxCoord(radius2 - radius1);
|
||||||
|
wxCoord alpha1 = wxCoord(wxConvertWXangleToMACangle(radius1));
|
||||||
if( (xx1 > xx2) || (yy1 > yy2) ) {
|
if( (xx1 > xx2) || (yy1 > yy2) ) {
|
||||||
alpha2 *= -1;
|
alpha2 *= -1;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user