> win32wscustomlistview.inc(84,15) Error: Incompatible types: got
"TYPES.TSmallPoint" expected "WINDOWS.TSmallPoint"
> win32wscomctrls.pp(1017) Fatal: There were 1 errors compiling module,
stopping
> Fatal: Compilation aborted

Please review attached patch and apply if ok.

Sandro Cumerlato
Index: lcl/interfaces/win32/win32wscustomlistview.inc
===================================================================
--- lcl/interfaces/win32/win32wscustomlistview.inc      (revision 51831)
+++ lcl/interfaces/win32/win32wscustomlistview.inc      (working copy)
@@ -81,7 +81,7 @@
       P.X:=0;
       P.Y:=0;
     end;
-    Result := PointToSmallPoint(P);
+    Result := Windows.PointToSmallPoint(P);
   end;
 
   procedure HandleListViewOwnerData(ALV: TCustomListViewAccess);
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to