LCL-Gtk2: Workaround for Gtk2 themed painting issue when excluded cliprects were ignored sometimes.

Makes behavior more consistent with other widgetsets. Issue #41246,
patch by Željan Rikalo.
This commit is contained in:
Maxim Ganetsky 2024-11-19 16:40:34 +03:00
parent f9f76a8675
commit f20a2c32e4

View File

@ -846,14 +846,14 @@ begin
end;
end;
gptBox:
gtk_paint_box(
gtk_paint_shadow(
Style, Window,
State, Shadow,
@ClipArea, Widget, PChar(Detail),
Area.x, Area.y,
Area.Width, Area.Height);
gptBoxGap:
gtk_paint_box_gap(
gtk_paint_shadow_gap(
Style, Window,
State, Shadow,
@ClipArea, Widget, PChar(Detail),