mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-13 18:29:12 +02:00
IDE: fixed compilation with fpc 3.1.1, bug #30262
git-svn-id: trunk@52482 -
This commit is contained in:
parent
824e8f1f9d
commit
d015e429f4
@ -1506,7 +1506,11 @@ begin
|
||||
|
||||
// set TypeData (PropCount is the total number of properties, including ancestors)
|
||||
NewTypeData^.ClassType:=TClass(NewVMT);
|
||||
{$IF FPC_FULLVERSION>30000}
|
||||
NewTypeData^.ParentInfoRef:=AncestorClass.ClassInfo;
|
||||
{$ELSE}
|
||||
NewTypeData^.ParentInfo:=AncestorClass.ClassInfo;
|
||||
{$ENDIF}
|
||||
NewTypeData^.PropCount:=GetTypeData(NewTypeData^.ParentInfo)^.PropCount;
|
||||
NewTypeData^.UnitName:=NewUnitName;
|
||||
AddedPropCount:=GetTypeDataPropCountAddr(NewTypeData);
|
||||
|
Loading…
Reference in New Issue
Block a user