mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-30 20:50:39 +02:00
* fixed image for build-none
git-svn-id: trunk@10887 -
This commit is contained in:
parent
449cc07dec
commit
0abc5c058d
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user