mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-15 17:39:40 +02:00
cocoa: fix RestoreDCData
git-svn-id: trunk@38778 -
This commit is contained in:
parent
a0823977cc
commit
12a20ff9fa
@ -1271,8 +1271,8 @@ begin
|
||||
FWindowOfs := AData.WindowOfs;
|
||||
FViewportOfs := AData.ViewportOfs;
|
||||
|
||||
// isClipped := AData.isClipped;
|
||||
// FClipRegion.Shape := AData.ClipShape;
|
||||
FClipped := AData.isClipped;
|
||||
FClipRegion.Shape := AData.ClipShape;
|
||||
end;
|
||||
|
||||
constructor TCocoaContext.Create;
|
||||
|
@ -1537,7 +1537,7 @@ begin
|
||||
if Assigned(ctx) then
|
||||
begin
|
||||
Result := ctx.BkColor;
|
||||
ctx.BkColor := Color;
|
||||
ctx.BkColor := TColor(Color);
|
||||
end
|
||||
else
|
||||
Result := CLR_INVALID;
|
||||
|
Loading…
Reference in New Issue
Block a user