mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 01:48:00 +02:00
* Fix windows compilation
This commit is contained in:
parent
8dcabc5796
commit
c3c3bd3471
@ -1413,7 +1413,7 @@ function CreateComponentfromRes(const res : string;Inst : THandle;var Component
|
||||
|
||||
if Inst=0 then
|
||||
Inst:=HInstance;
|
||||
ResId:=FindResource(Inst, Res, RT_RCDATA);
|
||||
ResId:=System.FindResource(Inst, Res, RT_RCDATA);
|
||||
result:=ResID<>0;
|
||||
try
|
||||
if Result then
|
||||
|
Loading…
Reference in New Issue
Block a user