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:
Ryan Norton
2005-02-15 19:19:51 +00:00
parent c08d805c5a
commit 8e475be490

View File

@@ -1007,6 +1007,7 @@ void wxDC::DoDrawArc( wxCoord x1, wxCoord y1,
-atan2(double(yy2-yyc), double(xx2-xxc)) * RAD2DEG;
}
wxCoord alpha2 = wxCoord(radius2 - radius1);
wxCoord alpha1 = wxCoord(wxConvertWXangleToMACangle(radius1));
if( (xx1 > xx2) || (yy1 > yy2) ) {
alpha2 *= -1;
}