From 9b26622dc12128c13790c608571d5f9bfa2d892a Mon Sep 17 00:00:00 2001 From: David Surovell Date: Tue, 7 Feb 2006 21:54:48 +0000 Subject: [PATCH] fixed DoDrawRoundedRect to use corner rounding radius arguments git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/dccg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mac/carbon/dccg.cpp b/src/mac/carbon/dccg.cpp index fd73532e12..5512b97eac 100755 --- a/src/mac/carbon/dccg.cpp +++ b/src/mac/carbon/dccg.cpp @@ -1584,7 +1584,7 @@ void wxDC::DoDrawRoundedRectangle(wxCoord x, wxCoord y, wxMacCGContext* mctx = ((wxMacCGContext*) m_graphicContext) ; CGContextRef ctx = mctx->GetNativeContext() ; - AddRoundedRectToPath( ctx , CGRectMake( xx , yy , ww , hh ) , 16 ,16 ) ; + AddRoundedRectToPath( ctx , CGRectMake( xx , yy , ww , hh ) , radius , radius ) ; CGContextDrawPath( ctx , mctx->GetDrawingMode() ) ; } -- 2.50.0