Browse Source

* Fix windows compilation

Michaël Van Canneyt 2 years ago
parent
commit
c3c3bd3471
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rtl/objpas/classes/classes.inc

+ 1 - 1
rtl/objpas/classes/classes.inc

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