mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-25 21:19:23 +02:00
packager: create component image with transparent bg in case of loading from FPC resources
git-svn-id: trunk@30042 -
This commit is contained in:
parent
0574b48563
commit
68fc57c89c
@ -3707,7 +3707,8 @@ begin
|
||||
if FindResource(HInstance, PChar(ResName), PChar(RT_BITMAP)) <> 0 then
|
||||
begin
|
||||
Result := TBitmap.Create;
|
||||
Result.LoadFromResourceName(HInstance, ResName)
|
||||
Result.LoadFromResourceName(HInstance, ResName);
|
||||
Result.Transparent := True;
|
||||
end;
|
||||
|
||||
if Result = nil then
|
||||
|
Loading…
Reference in New Issue
Block a user