mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-06 15:41:45 +02:00
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:
parent
3e152cc862
commit
bdc5abc1da
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user