lcl: formatting

git-svn-id: trunk@21743 -
This commit is contained in:
paul 2009-09-17 08:07:59 +00:00
parent 86450c53f1
commit e8d2dce86a

View File

@ -3598,7 +3598,7 @@ begin
DbgOut('[TWinControl.DoSetBounds] ',Name,':',ClassName,
' OldHeight=',DbgS(FHeight),' NewHeight=',DbgS(AHeight));
{$ENDIF}
InvalidateClientRectCache(false);
InvalidateClientRectCache(False);
inherited DoSetBounds(ALeft, ATop, AWidth, AHeight);
end;
@ -3828,7 +3828,8 @@ var
AControl: TWinControl;
IntfBounds: TRect;
begin
if HandleAllocated then begin
if HandleAllocated then
begin
// get the interface idea where the client area is on the screen
LCLIntf.GetWindowRect(Handle,IntfBounds);
Result.X := IntfBounds.Left;