mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-13 10:49:16 +02:00
Carbon implementation SelectClipRGN
git-svn-id: trunk@20626 -
This commit is contained in:
parent
92e7669048
commit
d0eafc69e3
@ -2827,7 +2827,11 @@ end;
|
|||||||
|
|
||||||
function TCarbonWidgetSet.SelectClipRGN(DC: hDC; RGN: HRGN): Longint;
|
function TCarbonWidgetSet.SelectClipRGN(DC: hDC; RGN: HRGN): Longint;
|
||||||
begin
|
begin
|
||||||
Result:=inherited SelectClipRGN(DC, RGN);
|
Result := 0;
|
||||||
|
if (DC = 0) or (RGN = 0) then Exit;
|
||||||
|
|
||||||
|
TCarbonRegion(RGN).Apply( TCarbonContext(DC) );
|
||||||
|
Result := 0;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{------------------------------------------------------------------------------
|
{------------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user