diff options
author | Graeme Geldenhuys <graemeg@gmail.com> | 2010-06-12 13:35:14 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graemeg@gmail.com> | 2010-06-12 13:35:14 +0200 |
commit | b48d59564b587d53894d47474b9212da3d100c2c (patch) | |
tree | 1edb7796e81c6f105aac00afeb595ea036a909ef /prototypes/textedit | |
parent | 07aaf033e8d587bf64319c2d35aba108955dde1a (diff) | |
download | fpGUI-b48d59564b587d53894d47474b9212da3d100c2c.tar.xz |
TextEdit: UpdateScrollBars already call UpdateScrollBarCoord so here it is not needed.
Diffstat (limited to 'prototypes/textedit')
-rw-r--r-- | prototypes/textedit/fpg_textedit.pas | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/prototypes/textedit/fpg_textedit.pas b/prototypes/textedit/fpg_textedit.pas index f1ac2b00..08f1cdde 100644 --- a/prototypes/textedit/fpg_textedit.pas +++ b/prototypes/textedit/fpg_textedit.pas @@ -1086,14 +1086,10 @@ end; procedure TfpgBaseTextEdit.HandleResize(AWidth, AHeight: TfpgCoord); begin - writeln('DEBUG: TfpgBaseTextEdit.HandleResize '); inherited HandleResize(AWidth, AHeight); if HasHandle then begin UpdateCharBounds; - writeln('DEBUG: TfpgBaseTextEdit.HandleResize - update sb coords'); - UpdateScrollBarCoords; - writeln('DEBUG: TfpgBaseTextEdit.HandleResize - update sb'); UpdateScrollBars; UpdateGutterCoords; end; @@ -1101,7 +1097,6 @@ end; procedure TfpgBaseTextEdit.HandlePaint; begin - writeln('DEBUG: TfpgBaseTextEdit.HandlePaint '); // inherited HandlePaint; // normal house keeping Canvas.ClearClipRect; |