diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2011-12-05 14:51:50 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2011-12-05 15:20:44 +0200 |
commit | d87814794a48cc35e65043c4e66edf67eb2997ed (patch) | |
tree | d43f031912bd9eba1a6f8f55cf170e0e24e78100 | |
parent | 1d08aeb5ecfcaf192bdad070b55eee68d49fb544 (diff) | |
download | fpGUI-d87814794a48cc35e65043c4e66edf67eb2997ed.tar.xz |
Remove redundant painting code in basegrid.
The HandlePaint() method is already wrapping with BeginDraw/EndDraw
calls in the TfpgWidget class.
-rw-r--r-- | src/gui/fpg_basegrid.pas | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gui/fpg_basegrid.pas b/src/gui/fpg_basegrid.pas index 63537cb0..4d0c525c 100644 --- a/src/gui/fpg_basegrid.pas +++ b/src/gui/fpg_basegrid.pas @@ -662,8 +662,6 @@ var cLeft: integer; c: integer; begin - Canvas.BeginDraw; -// inherited HandlePaint; Canvas.ClearClipRect; r.SetRect(0, 0, Width, Height); @@ -799,8 +797,6 @@ begin FVScrollBar.Width, FHScrollBar.Height); end; - - Canvas.EndDraw; end; procedure TfpgBaseGrid.HandleShow; |