LCL: fixed drawing of [+] and [-] icons of a treeview item (bug #8531).

This will break it for gtk, but to fix that, the gtk implementation of TCanvas.Rectangle needs to be adjusted (bug #8342).

git-svn-id: trunk@10776 -
This commit is contained in:
vincents 2007-03-21 21:41:39 +00:00
parent aa3864119c
commit ba7e804254

View File

@ -4003,7 +4003,7 @@ var
tvestPlusMinus:
begin
// draw a plus or a minus sign
Rectangle(ALeft, ATop, ARight, ABottom);
Rectangle(ALeft, ATop, ARight+1, ABottom+1);
MoveTo(ALeft+2,MidY);
LineTo(ARight-2+1,MidY);
if not CollapseSign then begin