From 23933fd6a69cfac7763db56bd7ff02616d0f5ba6 Mon Sep 17 00:00:00 2001 From: sekelsenmat Date: Tue, 10 Apr 2012 18:27:20 +0000 Subject: [PATCH] LCL-CustomDrawn-Cocoa: Fixes compilation git-svn-id: trunk@36714 - --- lcl/interfaces/customdrawn/customdrawnint.pas | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lcl/interfaces/customdrawn/customdrawnint.pas b/lcl/interfaces/customdrawn/customdrawnint.pas index 6929319d29..bc85f7c8dd 100644 --- a/lcl/interfaces/customdrawn/customdrawnint.pas +++ b/lcl/interfaces/customdrawn/customdrawnint.pas @@ -29,7 +29,7 @@ interface uses // RTL - Types, Classes, SysUtils, Math, + Classes, SysUtils, Math, fpimage, fpcanvas, fpimgcanv, ctypes, dateutils, // XML XMLRead, Dom, @@ -47,6 +47,8 @@ uses // LazFreeType LazFreeTypeIntfDrawer, LazFreeType, EasyLazFreeType, IniFiles, {$endif} + // Types needs to be after the platform-specif units or else Mac will catch MacOSAll.Rect/Size/Point + Types, // Widgetset customdrawnproc, // LCL