mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 01:29:08 +02:00
lcl: a trial to fix wince compilation (issue #0025512)
git-svn-id: trunk@43697 -
This commit is contained in:
parent
391d5a62fc
commit
2dd21044bd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user