LCL: grids: fix compilation with FPC 3.0.x

git-svn-id: trunk@57764 -
This commit is contained in:
ondrej 2018-05-01 20:27:49 +00:00
parent a97c137b1b
commit 9fae8f17bf

View File

@ -4147,7 +4147,7 @@ begin
s := ThemeServices.GetDetailSize(Details);
end else
s := Size(-1, -1);
if s.Width>0 then // theme services support sorted arrows
if s.cx>0 then // theme services support sorted arrows
begin
w := Scale96ToFont(s.cx);
h := Scale96ToFont(s.cy);