lazcontrols: TLvlGraphControl: accept child controls in designer

git-svn-id: trunk@44214 -
This commit is contained in:
mattias 2014-02-23 18:45:22 +00:00
parent 49c0f86ee9
commit e0d5158221

View File

@ -2616,6 +2616,7 @@ end;
constructor TCustomLvlGraphControl.Create(AOwner: TComponent);
begin
inherited Create(AOwner);
ControlStyle:=ControlStyle+[csAcceptsControls];
FOptions:=DefaultLvlGraphCtrlOptions;
FGraph:=TLvlGraph.Create;
FGraph.OnInvalidate:=@GraphInvalidate;