From 51422a89ac65516bcfb6f56f37f0c9cca3e4115f Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 20 Apr 2000 07:39:43 +0000 Subject: [PATCH] changed the radius used on the rounded rectangle git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/src/stc/PlatWX.cpp | 4 ++-- src/stc/PlatWX.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/contrib/src/stc/PlatWX.cpp b/contrib/src/stc/PlatWX.cpp index 0fc480d806..368fb610db 100644 --- a/contrib/src/stc/PlatWX.cpp +++ b/contrib/src/stc/PlatWX.cpp @@ -183,7 +183,7 @@ void Surface::BrushColor(Colour back) { void Surface::SetFont(Font &font_) { - // I think the following check is valid. + // I think the following check is valid. // It eliminates a crash for me. -- eric@sourcegear.com if (font_.GetID()) @@ -240,7 +240,7 @@ void Surface::FillRectangle(PRectangle rc, Surface &surfacePattern) { void Surface::RoundedRectangle(PRectangle rc, Colour fore, Colour back) { PenColour(fore); BrushColor(back); - hdc->DrawRoundedRectangle(wxRectFromPRectangle(rc), 8); + hdc->DrawRoundedRectangle(wxRectFromPRectangle(rc), 4); } void Surface::Ellipse(PRectangle rc, Colour fore, Colour back) { diff --git a/src/stc/PlatWX.cpp b/src/stc/PlatWX.cpp index 0fc480d806..368fb610db 100644 --- a/src/stc/PlatWX.cpp +++ b/src/stc/PlatWX.cpp @@ -183,7 +183,7 @@ void Surface::BrushColor(Colour back) { void Surface::SetFont(Font &font_) { - // I think the following check is valid. + // I think the following check is valid. // It eliminates a crash for me. -- eric@sourcegear.com if (font_.GetID()) @@ -240,7 +240,7 @@ void Surface::FillRectangle(PRectangle rc, Surface &surfacePattern) { void Surface::RoundedRectangle(PRectangle rc, Colour fore, Colour back) { PenColour(fore); BrushColor(back); - hdc->DrawRoundedRectangle(wxRectFromPRectangle(rc), 8); + hdc->DrawRoundedRectangle(wxRectFromPRectangle(rc), 4); } void Surface::Ellipse(PRectangle rc, Colour fore, Colour back) {