fixed compilation: use ImageList.AddLazarusResource instead of AddFromLazarusResource

git-svn-id: trunk@11348 -
This commit is contained in:
vincents 2007-06-21 08:38:47 +00:00
parent 1fdde5344b
commit 5d45cd9bc9
2 changed files with 4 additions and 4 deletions

View File

@ -100,9 +100,9 @@ begin
cbPrinters.ItemIndex:=0;
cbPrinters.OnChange:=@btnRefeshClick;
lstImg.AddFromLazarusResource('pending');
lstImg.AddFromLazarusResource('helded');
lstImg.AddFromLazarusResource('process');
lstImg.AddLazarusResource('pending');
lstImg.AddLazarusResource('helded');
lstImg.AddLazarusResource('process');
end;

View File

@ -214,7 +214,7 @@ begin
end;
{------------------------------------------------------------------------------
function TCustomImageList.AddFromLazarusResource(const ResourceName: string
function TCustomImageList.AddLazarusResource(const ResourceName: string
): integer;
Load TBitmap from lazarus resources and add it.