diff options
Diffstat (limited to 'src/corelib/gfx_widget.pas')
-rw-r--r-- | src/corelib/gfx_widget.pas | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/corelib/gfx_widget.pas b/src/corelib/gfx_widget.pas index a998efb9..c883edf9 100644 --- a/src/corelib/gfx_widget.pas +++ b/src/corelib/gfx_widget.pas @@ -69,7 +69,7 @@ type procedure SetParent(const AValue: TfpgWidget); reintroduce; procedure SetEnabled(const AValue: boolean); virtual; procedure SetVisible(const AValue: boolean); virtual; - procedure DoUpdateWindowPosition(aleft, atop, awidth, aheight: TfpgCoord); override; + procedure DoUpdateWindowPosition; override; procedure DoAlign(AAlign: TAlign); procedure DoResize; procedure HandlePaint; virtual; @@ -207,7 +207,7 @@ begin end; end; -procedure TfpgWidget.DoUpdateWindowPosition(aleft, atop, awidth, aheight: TfpgCoord); +procedure TfpgWidget.DoUpdateWindowPosition; var dw: integer; dh: integer; @@ -222,7 +222,7 @@ begin HandleAlignments(dw, dh); end; - inherited DoUpdateWindowPosition(aleft, atop, awidth, aheight); + inherited DoUpdateWindowPosition; if FDirty and ((dw <> 0) or (dh <> 0)) then DoResize; |