]> git.saurik.com Git - wxWidgets.git/commitdiff
fixup for missing variable
authorRyan Norton <wxprojects@comcast.net>
Tue, 15 Feb 2005 19:19:51 +0000 (19:19 +0000)
committerRyan Norton <wxprojects@comcast.net>
Tue, 15 Feb 2005 19:19:51 +0000 (19:19 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/dccg.cpp

index 2c59b470c3f1cd010d4508dd116da0787a46b183..c610c95a4e2967013036267eaea07d9c64fe75b1 100755 (executable)
@@ -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;
     }