* IDE: designer: fixed jitform for fpc 3.1 (related to FPC r34087 #4b65d3903d). Resolves issue #30377

git-svn-id: trunk@52691 -
This commit is contained in:
hnb 2016-07-15 12:35:01 +00:00
parent 5a351b66a9
commit 2f01b9e55a

View File

@ -1505,6 +1505,9 @@ begin
System.Move(NewClassName[0],NewTypeInfo^.Name[0],length(NewClassName)+1);
NewTypeData:=GetTypeData(NewTypeInfo);
// copy vmtIntfTable
Pointer(Pointer(NewVMT+vmtIntfTable)^):=Pointer(Pointer(Pointer(AncestorClass)+vmtIntfTable)^);
// set TypeData (PropCount is the total number of properties, including ancestors)
NewTypeData^.ClassType:=TClass(NewVMT);
{$IF FPC_FULLVERSION>=30100}