From fd272b534593993a8f4098212b2db40dc20e4adf Mon Sep 17 00:00:00 2001 From: Graeme Geldenhuys Date: Wed, 22 May 2013 09:23:22 +0100 Subject: richview: let the fpgStyle object do the drawing for us. --- docview/components/richtext/RichTextView.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docview/components/richtext/RichTextView.pas b/docview/components/richtext/RichTextView.pas index 4da2cfac..e890ca54 100644 --- a/docview/components/richtext/RichTextView.pas +++ b/docview/components/richtext/RichTextView.pas @@ -1179,7 +1179,7 @@ begin end; ebsDefault: begin - Canvas.DrawControlFrame(r); + fpgStyle.DrawControlFrame(Canvas, r); end; ebsSingle: begin -- cgit v1.2.3-70-g09d2