lcl: a trial to fix wince compilation (issue #0025512)

git-svn-id: trunk@43697 -
This commit is contained in:
paul 2014-01-11 03:25:31 +00:00
parent 391d5a62fc
commit 2dd21044bd

View File

@ -2802,7 +2802,7 @@ begin
ResHandle := FindResource(Instance, PChar(ResName), PChar(RT_RCDATA));
if ResHandle <> 0 then
begin
Stream := TResourceStream.Create(Instance, PChar(ResName), PChar(RT_RCDATA));
Stream := TResourceStream.Create(Instance, ResName, RT_RCDATA);
try
GraphicClass := GetPicFileFormats.FindByStreamFormat(Stream);
if Assigned(GraphicClass) and GraphicClass.InheritsFrom(TCustomBitmap) then