* Draw the correct check button when using system buttons

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1085 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
blikblum
2009-12-26 17:48:47 +00:00
parent b6ccf41e4f
commit bfb6f5f56e

View File

@ -22803,7 +22803,7 @@ begin
{$endif} {$endif}
begin begin
R := Rect(XPos + 1, YPos + 1, XPos + 14, YPos + 14); R := Rect(XPos + 1, YPos + 1, XPos + 14, YPos + 14);
DrawCheckButton(Canvas, Index, R, FCheckImageKind = ckSystemFlat); DrawCheckButton(Canvas, Index - 1, R, FCheckImageKind = ckSystemFlat);
end; end;
end end
else else