From: Ryan Norton Date: Tue, 15 Feb 2005 19:19:51 +0000 (+0000) Subject: fixup for missing variable X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8e475be4902968ae87569c9b044a376c66c63a79?ds=inline fixup for missing variable git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/dccg.cpp b/src/mac/carbon/dccg.cpp index 2c59b470c3..c610c95a4e 100755 --- a/src/mac/carbon/dccg.cpp +++ b/src/mac/carbon/dccg.cpp @@ -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; }