mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-04 15:18:16 +02:00
fixed fpc 1.9.8 compilation
git-svn-id: trunk@7165 -
This commit is contained in:
parent
776c27aac0
commit
2243caa324
@ -112,7 +112,9 @@ procedure TCustomLabeledEdit.CreateInternalLabel;
|
||||
begin
|
||||
if FEditLabel<>nil then exit;
|
||||
FEditLabel := TBoundLabel.Create(Self);
|
||||
{$IFNDEF VER1_9_8} //fpc 1.9.8 can't stream subcomponents.
|
||||
Include(FEditLabel.ComponentStyle, csSubComponent);
|
||||
{$ENDIF}
|
||||
FEditLabel.FreeNotification(Self);
|
||||
FEditLabel.FocusControl := Self;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user