diff options
author | Graeme Geldenhuys <graemeg@gmail.com> | 2013-12-17 22:09:45 +0000 |
---|---|---|
committer | Graeme Geldenhuys <graemeg@gmail.com> | 2013-12-17 22:09:45 +0000 |
commit | 72effbfa1e39d99769202cb50c77cd305467c632 (patch) | |
tree | c8b284c6dd25864c6d29fe79a9d873726cd6c895 /src/gui/fpg_editcombo.pas | |
parent | c0f46bd41032ce68655b0999d15933ca995ac491 (diff) | |
download | fpGUI-72effbfa1e39d99769202cb50c77cd305467c632.tar.xz |
editcombo: removed BeginDraw/EndDraw calls which are not needed.
For a long time now those calls are not need. The base canvas class
already does all the double buffering for us.
Diffstat (limited to 'src/gui/fpg_editcombo.pas')
-rw-r--r-- | src/gui/fpg_editcombo.pas | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gui/fpg_editcombo.pas b/src/gui/fpg_editcombo.pas index 8b7a8654..13d90b22 100644 --- a/src/gui/fpg_editcombo.pas +++ b/src/gui/fpg_editcombo.pas @@ -770,7 +770,6 @@ var end; begin - Canvas.BeginDraw; // inherited HandlePaint; Canvas.ClearClipRect; r.SetRect(0, 0, Width, Height); @@ -869,8 +868,6 @@ begin else fpgCaret.UnSetCaret(Canvas); end; - - Canvas.EndDraw; end; constructor TfpgBaseEditCombo.Create(AOwner: TComponent); |