customdrawnws-cocoa: Compilation fix

git-svn-id: trunk@33749 -
This commit is contained in:
sekelsenmat 2011-11-24 08:03:08 +00:00
parent d3a2cf706c
commit e97ab1eaa6
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ uses
Types, Classes, SysUtils, Math, Types, Classes, SysUtils, Math,
fpimage, fpcanvas, fpimgcanv, ctypes, fpimage, fpcanvas, fpimgcanv, ctypes,
{$ifdef CD_Windows}Windows, customdrawn_WinProc,{$endif} {$ifdef CD_Windows}Windows, customdrawn_WinProc,{$endif}
{$ifdef CD_Cocoa}MacOSAll, CocoaAll,{$endif} {$ifdef CD_Cocoa}MacOSAll, CocoaAll, CocoaPrivate,{$endif}
{$ifdef CD_X11}X, XLib, XUtil, customdrawn_x11proc,{unitxft, Xft font support}{$endif} {$ifdef CD_X11}X, XLib, XUtil, customdrawn_x11proc,{unitxft, Xft font support}{$endif}
// Widgetset // Widgetset
customdrawnproc, customdrawnproc,

View File

@ -451,7 +451,7 @@ function TCDWidgetSet.BackendGetClientBounds(handle : HWND; var ARect : TRect) :
begin begin
if Handle<>0 then begin if Handle<>0 then begin
Result:=True; Result:=True;
ARect:=NSObject(handle).lclClientFrame; ARect:=LCLObjectExtension(NSObject(handle)).lclClientFrame;
end else end else
Result:=False; Result:=False;
end; end;