summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graemeg@gmail.com>2013-05-22 09:23:22 +0100
committerGraeme Geldenhuys <graemeg@gmail.com>2013-05-22 09:23:22 +0100
commitfd272b534593993a8f4098212b2db40dc20e4adf (patch)
treebd798bd06db32e5ba35086ee7a657164e3fb0227
parenta77fba95a0d3c9ae5fe5e3a865bf72b638e34f48 (diff)
downloadfpGUI-fd272b534593993a8f4098212b2db40dc20e4adf.tar.xz
richview: let the fpgStyle object do the drawing for us.
-rw-r--r--docview/components/richtext/RichTextView.pas2
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