mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 06:39:12 +02:00
Cocoa: Fix #40571 in TCocoaContext.DrawEdge()
This commit is contained in:
parent
586323470e
commit
8d0f10ed90
@ -2105,13 +2105,11 @@ const
|
|||||||
);
|
);
|
||||||
var
|
var
|
||||||
I: Integer;
|
I: Integer;
|
||||||
rect: TRect;
|
|
||||||
begin
|
begin
|
||||||
rect:= ARect;
|
|
||||||
for I := 0 to FrameWidth - 1 do
|
for I := 0 to FrameWidth - 1 do
|
||||||
begin
|
begin
|
||||||
DrawEdge(rect, Edge[Style], BF_RECT or BF_ADJUST);
|
DrawEdge(aRect, Edge[Style], BF_RECT);
|
||||||
InflateRect(rect,-1,-1);
|
InflateRect(aRect,-1,-1);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user