mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-21 11:39:55 +02:00
Gtk2: fixed call to InvalidateLastWFPResult.
This commit is contained in:
parent
88f7910c32
commit
8b937e6645
@ -635,7 +635,7 @@ begin
|
|||||||
if not WSCheckHandleAllocated(AWinControl, 'SetBounds')
|
if not WSCheckHandleAllocated(AWinControl, 'SetBounds')
|
||||||
then Exit;
|
then Exit;
|
||||||
ResizeHandle(AWinControl);
|
ResizeHandle(AWinControl);
|
||||||
InvalidateLastWFPResult(AWinControl, Rect(ALeft, ATop, AWidth, AHeight));
|
InvalidateLastWFPResult(AWinControl, Bounds(ALeft, ATop, AWidth, AHeight));
|
||||||
if not AWinControl.Visible then // Gtk2WSForms.ShowHide will correct visibility
|
if not AWinControl.Visible then // Gtk2WSForms.ShowHide will correct visibility
|
||||||
exit;
|
exit;
|
||||||
if (not (AWinControl is TCustomForm)) or (AWinControl.Parent<>nil)
|
if (not (AWinControl is TCustomForm)) or (AWinControl.Parent<>nil)
|
||||||
|
Loading…
Reference in New Issue
Block a user