mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-10 09:39:25 +02:00
gtk: protect themeservices from empty rect
git-svn-id: trunk@20391 -
This commit is contained in:
parent
f18b730234
commit
da300289b7
@ -446,6 +446,8 @@ var
|
||||
StyleParams: TGtkStyleParams;
|
||||
i: integer;
|
||||
begin
|
||||
if IsRectEmpty(R) then
|
||||
Exit;
|
||||
for i := 0 to GetParamsCount(Details) - 1 do
|
||||
begin
|
||||
StyleParams := GetGtkStyleParams(DC, Details, i);
|
||||
|
Loading…
Reference in New Issue
Block a user