carbon intf: fixed compilation

git-svn-id: trunk@23944 -
This commit is contained in:
mattias 2010-03-11 15:50:44 +00:00
parent 874b22249a
commit 7b512697ff

View File

@ -437,7 +437,7 @@ var
R: TRect;
begin
if not Resizing
{$IFNDEF NewAutoSize} and not (csAlignmentNeeded in LCLObject.ControlState){$ENDIF}
{$IFDEF OldAutoSize} and not (csAlignmentNeeded in LCLObject.ControlState){$ENDIF}
then begin
GetBounds(R);
LCLObject.InvalidateClientRectCache(False);