diff options
author | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2008-07-02 10:43:31 +0000 |
---|---|---|
committer | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2008-07-02 10:43:31 +0000 |
commit | fc7c9bce2641815fcd8dcc6858b88d304a85616e (patch) | |
tree | 58513c0c6b277f29a871275b3afd1a0d02e103fc /src | |
parent | 183048c81175e7343f88f2bb8e80ed52e5e0d0fb (diff) | |
download | fpGUI-fc7c9bce2641815fcd8dcc6858b88d304a85616e.tar.xz |
* Removed the RePaint call from HandleAlignments. It's now called from Realign instead.
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/gfx_widget.pas | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/corelib/gfx_widget.pas b/src/corelib/gfx_widget.pas index 73d87f4c..a49f3cca 100644 --- a/src/corelib/gfx_widget.pas +++ b/src/corelib/gfx_widget.pas @@ -257,6 +257,7 @@ end; procedure TfpgWidget.Realign; begin HandleAlignments(0, 0); + RePaint; end; function TfpgWidget.GetParent: TfpgWidget; @@ -989,8 +990,6 @@ begin wg.MoveAndResizeBy(dx, dy, dw, dh); end; end; { if } - - RePaint; end; procedure TfpgWidget.MoveAndResize(ALeft, ATop, AWidth, AHeight: TfpgCoord); |