summaryrefslogtreecommitdiff
path: root/src/gui/fpg_editcombo.pas
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graemeg@gmail.com>2013-05-18 20:00:01 +0100
committerGraeme Geldenhuys <graemeg@gmail.com>2013-05-20 11:49:58 +0100
commit76c186be8abd6ffb10552cff099fe5a5c579bd79 (patch)
treebeaf2d8f9b30bdc734a9b040cb57254f9e07269b /src/gui/fpg_editcombo.pas
parentd10dac387ba331f1f289b28b4d1a56a7882733f2 (diff)
downloadfpGUI-76c186be8abd6ffb10552cff099fe5a5c579bd79.tar.xz
Removed Canvas.DrawControlFrame() - fpgStyle has tha functionality now
Canvas.DrawControlFrame() simply passed it along to fpgStyle for a long time already. Now we finally separate the two, so the Styling code can be separated from the corelib code.
Diffstat (limited to 'src/gui/fpg_editcombo.pas')
-rw-r--r--src/gui/fpg_editcombo.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/fpg_editcombo.pas b/src/gui/fpg_editcombo.pas
index 514c8155..624024b0 100644
--- a/src/gui/fpg_editcombo.pas
+++ b/src/gui/fpg_editcombo.pas
@@ -765,7 +765,7 @@ begin
// inherited HandlePaint;
Canvas.ClearClipRect;
r.SetRect(0, 0, Width, Height);
- Canvas.DrawControlFrame(r);
+ fpgStyle.DrawControlFrame(Canvas, r);
// internal background rectangle (without frame)
InflateRect(r, -2, -2);