fixed fpc 2.1.1 compilation

git-svn-id: trunk@10520 -
This commit is contained in:
vincents 2007-01-27 20:11:23 +00:00
parent 10aecd20d4
commit 27143c2d74

View File

@ -255,7 +255,7 @@ end;
Retrieves the text (caption) of window in Carbon interface
------------------------------------------------------------------------------}
function TCarbonWSCustomForm.GetText(const AWinControl: TWinControl;
class function TCarbonWSCustomForm.GetText(const AWinControl: TWinControl;
var AText: String): Boolean;
var
CFString: CFStringRef;
@ -306,7 +306,7 @@ end;
Sets color of window in Carbon interface according to the LCL control
------------------------------------------------------------------------------}
procedure TCarbonWSCustomForm.SetColor(const AWinControl: TWinControl);
class procedure TCarbonWSCustomForm.SetColor(const AWinControl: TWinControl);
begin
if not WSCheckHandleAllocated(AWinControl, 'SetColor') then Exit;