diff --git a/ide/customformeditor.pp b/ide/customformeditor.pp index efeae3ab5d..3b189a8203 100644 --- a/ide/customformeditor.pp +++ b/ide/customformeditor.pp @@ -235,7 +235,7 @@ type AncestorClassName, Identifier: string; var IsDefined: boolean); procedure RegisterDefineProperty(const APersistentClassName, - Identifier: string); + Identifier: string); override; procedure RegisterStandardDefineProperties; // keys diff --git a/ide/sourcefilemanager.pas b/ide/sourcefilemanager.pas index 45e29ba90e..4e22833ef6 100644 --- a/ide/sourcefilemanager.pas +++ b/ide/sourcefilemanager.pas @@ -4134,7 +4134,6 @@ begin NewUnitName:=AnUnitInfo.Unit_Name; if NewUnitName='' then NewUnitName:=ExtractFileNameOnly(AnUnitInfo.Filename); - // ToDo: create AncestorBinStream(s) via hook, not via parameters DisableAutoSize:=true; NewComponent:=FormEditor1.CreateRawComponentFromStream(BinStream, AnUnitInfo.UnitResourceFileformat, AncestorType,copy(NewUnitName,1,255),true,true,DisableAutoSize,AnUnitInfo);