mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-16 01:00:34 +01:00
+ Fixed error which stopped code from compiling
git-svn-id: trunk@6970 -
This commit is contained in:
parent
49b530b12a
commit
86803e5b23
@ -165,7 +165,7 @@ begin
|
||||
Node:=GetNodeAt(X, Y);
|
||||
if Assigned(Node) and Assigned(Node.Data) then begin
|
||||
AnObject:=TObject(Node.Data);
|
||||
if AnObject is TWinControl and (csAcceptsControls in TWinControl(AnObject).ControlStyle) then
|
||||
if (AnObject is TWinControl) and (csAcceptsControls in TWinControl(AnObject).ControlStyle) then
|
||||
begin
|
||||
AContainer := TWinControl(AnObject);
|
||||
AcceptContainer := True;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user