LCL: fixed broken compilation with -dOldAutoSize.

git-svn-id: trunk@24521 -
This commit is contained in:
zeljko 2010-04-08 17:28:55 +00:00
parent 832a29abc0
commit 17c1015f20
2 changed files with 4 additions and 0 deletions

View File

@ -527,7 +527,9 @@ type
procedure MoveToDefaultPosition; virtual;
procedure UpdateShowing; override;
procedure SetVisible(Value: boolean); override;
{$ifndef OldAutoSize}
procedure AllAutoSized; override;
{$endif}
procedure DoFirstShow; virtual;
procedure UpdateWindowState;
procedure VisibleChanging; override;

View File

@ -388,6 +388,7 @@ begin
//DebugLn(['[TCustomForm.SetVisible] END ',Name,':',ClassName,' ',Value,' ',(fsCreating in FFormState),' ',Visible]);
end;
{$ifndef OldAutoSize}
procedure TCustomForm.AllAutoSized;
begin
inherited AllAutoSized;
@ -397,6 +398,7 @@ begin
MoveToDefaultPosition;
end;
end;
{$endif}
{------------------------------------------------------------------------------
procedure TCustomForm.SetWindowFocus;