mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 16:59:42 +02:00
lcl: added oldautosize ifdefs
git-svn-id: trunk@24055 -
This commit is contained in:
parent
6ec276af67
commit
7fcc42d5af
@ -10,6 +10,9 @@
|
||||
<MainUnit Value="0"/>
|
||||
<TargetFileExt Value=""/>
|
||||
</General>
|
||||
<VersionInfo>
|
||||
<StringTable Comments="" CompanyName="" FileDescription="" FileVersion="0.0.0.0" InternalName="" LegalCopyright="" LegalTrademarks="" OriginalFilename="" ProductName="" ProductVersion="0.0.0.0"/>
|
||||
</VersionInfo>
|
||||
<PublishOptions>
|
||||
<Version Value="2"/>
|
||||
<IncludeFileFilter Value="*.(pas|pp|inc|lfm|lpr|lrs|lpi|lpk|sh|xml)"/>
|
||||
|
@ -6668,6 +6668,7 @@ begin
|
||||
FBoundsRealized := NewBoundsRealized;
|
||||
InvalidatePreferredSize;
|
||||
|
||||
{$IFNDEF OldAutoSize}
|
||||
if AutoSizingAll then begin
|
||||
// while the LCL is creating handles the widgetset may send default bounds
|
||||
// we have not yet told the widgetset the final bounds
|
||||
@ -6678,6 +6679,7 @@ begin
|
||||
// default values.
|
||||
exit;
|
||||
end;
|
||||
{$ENDIF}
|
||||
end;
|
||||
|
||||
SetBoundsKeepBase(NewLeft, NewTop, Message.Width, Message.Height, Parent <> nil);
|
||||
|
Loading…
Reference in New Issue
Block a user