LCL: Align column header in DBGrid correctly when DefaultDrawing. Issue #29395, patch from Tony Whyman.

git-svn-id: trunk@51276 -
This commit is contained in:
juha 2016-01-14 10:48:19 +00:00
parent a200dc34ee
commit b87cd5e7e8

View File

@ -3582,7 +3582,7 @@ var
IsSelected: boolean;
gc: TGridColumn;
begin
if DefaultDrawing then begin
if (gdFixed in aState) or DefaultDrawing then begin
Canvas.Pen.Mode := pmCopy;
GetSelectedState(aState, IsSelected);
if IsSelected then begin