rx component: fixed compilation with fpc 2.3.1 r10094 #86a36d4a2f

git-svn-id: trunk@13923 -
This commit is contained in:
vincents 2008-01-30 12:03:48 +00:00
parent 7b40cf0831
commit 3a9f3361aa

View File

@ -410,13 +410,13 @@ end;
procedure TFormPlacement.Loaded;
var
Loading: Boolean;
IsLoading: Boolean;
begin
Loading := csLoading in ComponentState;
IsLoading := csLoading in ComponentState;
inherited Loaded;
if not (csDesigning in ComponentState) then
begin
if Loading then
if IsLoading then
SetEvents;
end;
end;