ide: don't add unneeded units for new frame and new datamodule

git-svn-id: trunk@25504 -
This commit is contained in:
paul 2010-05-19 07:47:04 +00:00
parent f44f816bec
commit 70d6216214

View File

@ -448,7 +448,7 @@ end;
function TFileDescPascalUnitWithDataModule.GetInterfaceUsesSection: string;
begin
Result:='Classes, SysUtils, FileUtil, LResources, Forms, Controls, Dialogs';
Result := inherited GetInterfaceUsesSection;
end;
function TFileDescPascalUnitWithDataModule.GetLocalizedName: string;
@ -533,7 +533,7 @@ end;
function TFileDescPascalUnitWithFrame.GetInterfaceUsesSection: string;
begin
Result:='Classes, SysUtils, FileUtil, LResources, Forms';
Result := inherited GetInterfaceUsesSection + ', Forms, Controls';
end;
function TFileDescPascalUnitWithFrame.GetLocalizedName: string;