mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 07:29:25 +02:00
fixed compilation: use ImageList.AddLazarusResource instead of AddFromLazarusResource
git-svn-id: trunk@11348 -
This commit is contained in:
parent
1fdde5344b
commit
5d45cd9bc9
@ -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;
|
||||
|
||||
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user