lcl: replace (csReadingState in AControl.ControlState) by (csReading in AControl.ComponentState) since we don't support csReadingState yet

git-svn-id: trunk@20612 -
This commit is contained in:
paul 2009-06-13 08:58:15 +00:00
parent 3e152cc862
commit bdc5abc1da

View File

@ -5771,7 +5771,7 @@ begin
AControl.ValidateContainer(Self);
Perform(CM_CONTROLLISTCHANGE, WParam(AControl), LParam(True));
Insert(AControl,Index);
if not (csReadingState in AControl.ControlState) then
if not (csReading in AControl.ComponentState) then
begin
AControl.Perform(CM_PARENTCOLORCHANGED, 0, 0);
AControl.Perform(CM_PARENTSHOWHINTCHANGED, 0, 0);