mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 13:39:11 +02:00
LCL-GTK2: Fix drawing of text region in TListView and others. Issue #38062, patch from Joeny Ang.
git-svn-id: trunk@64130 -
This commit is contained in:
parent
35da6a1fbb
commit
e405b8c6ac
@ -3776,7 +3776,7 @@ begin
|
|||||||
Clip:=CreateEmptyRegion
|
Clip:=CreateEmptyRegion
|
||||||
else begin
|
else begin
|
||||||
GDK_Window_Get_Size(Drawable, @X, @Y);
|
GDK_Window_Get_Size(Drawable, @X, @Y);
|
||||||
Clip := CreateRectRGN(0, 0, X, Y);
|
Clip := CreateRectRGN(-Offset.X, -Offset.Y, X - Offset.X, Y - Offset.Y);
|
||||||
end;
|
end;
|
||||||
// create target clip
|
// create target clip
|
||||||
Tmp := CreateEmptyRegion;
|
Tmp := CreateEmptyRegion;
|
||||||
|
Loading…
Reference in New Issue
Block a user