Browse Source

* Fix windows compilation

Michaël Van Canneyt 2 năm trước cách đây
mục cha
commit
c3c3bd3471
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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