packager: create component image with transparent bg in case of loading from FPC resources

git-svn-id: trunk@30042 -
This commit is contained in:
paul 2011-03-28 00:46:14 +00:00
parent 0574b48563
commit 68fc57c89c

View File

@ -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