* fixed image for build-none

git-svn-id: trunk@10887 -
This commit is contained in:
marc 2007-04-05 19:07:14 +00:00
parent 449cc07dec
commit 0abc5c058d

View File

@ -764,14 +764,12 @@ begin
ImgIndex:=ImageIndexNone;
end;
if ImgIndex <> ImageIndexNone
then
ImageList.Draw(
ItemsListBox.Canvas,
ARect.Left + x + ((ButtonWidth - ImageList.Width) div 2),
ARect.Top + ((ARect.Bottom - ARect.Top - ImageList.Height) div 2),
ImgIndex
) ;
ImageList.Draw(
ItemsListBox.Canvas,
ARect.Left + x + ((ButtonWidth - ImageList.Width) div 2),
ARect.Top + ((ARect.Bottom - ARect.Top - ImageList.Height) div 2),
ImgIndex
) ;
Inc(x, ButtonWidth);
end;