ide: probably fix graphic property editor

git-svn-id: trunk@15553 -
This commit is contained in:
paul 2008-06-24 01:01:10 +00:00
parent 7702139893
commit b7dbfbdfe9

View File

@ -195,7 +195,7 @@ begin
{$Warnings off}
// TGraphic itself is an abstract class, so the compiler will warn
if AGraphic = nil then begin
AGraphic := TGraphic(GetTypeData(GetPropType)^.ClassType).Create;
AGraphic := TGraphicClass(GetTypeData(GetPropType)^.ClassType).Create;
FreeGraphic:=true;
end;
{$Warnings on}