summaryrefslogtreecommitdiff
path: root/examples/corelib/aggcanvas
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graemeg@gmail.com>2013-05-20 11:58:34 +0100
committerGraeme Geldenhuys <graemeg@gmail.com>2013-05-20 11:58:34 +0100
commita77fba95a0d3c9ae5fe5e3a865bf72b638e34f48 (patch)
tree890fd6c43353751b02a569891d3b75b6a85ec405 /examples/corelib/aggcanvas
parent76c186be8abd6ffb10552cff099fe5a5c579bd79 (diff)
downloadfpGUI-a77fba95a0d3c9ae5fe5e3a865bf72b638e34f48.tar.xz
demo: API change, ask fpgStyle to draw a widget primitive instead on Canvas
Diffstat (limited to 'examples/corelib/aggcanvas')
-rw-r--r--examples/corelib/aggcanvas/agg_canvas_test.lpr2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/corelib/aggcanvas/agg_canvas_test.lpr b/examples/corelib/aggcanvas/agg_canvas_test.lpr
index 90dab7c8..3b3a75ef 100644
--- a/examples/corelib/aggcanvas/agg_canvas_test.lpr
+++ b/examples/corelib/aggcanvas/agg_canvas_test.lpr
@@ -266,7 +266,7 @@ begin
Canvas.DrawString(45, y, 'DrawControlFrame():');
y := y + Canvas.Font.Height;
- Canvas.DrawControlFrame(5, y, 150, 23);
+ fpgStyle.DrawControlFrame(Canvas, 5, y, 150, 23);
// A Vector Text example
//----------------------