diff options
author | Graeme Geldenhuys <graemeg@gmail.com> | 2013-05-22 09:23:22 +0100 |
---|---|---|
committer | Graeme Geldenhuys <graemeg@gmail.com> | 2013-05-22 09:23:22 +0100 |
commit | fd272b534593993a8f4098212b2db40dc20e4adf (patch) | |
tree | bd798bd06db32e5ba35086ee7a657164e3fb0227 | |
parent | a77fba95a0d3c9ae5fe5e3a865bf72b638e34f48 (diff) | |
download | fpGUI-fd272b534593993a8f4098212b2db40dc20e4adf.tar.xz |
richview: let the fpgStyle object do the drawing for us.
-rw-r--r-- | docview/components/richtext/RichTextView.pas | 2 |
1 files changed, 1 insertions, 1 deletions
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 |