mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 23:02:59 +00:00
Revert : small part from 22849 wine sync
Reason : put back ReactOS specify code, to make icon transplant. svn path=/trunk/; revision=22955
This commit is contained in:
parent
43800d3c90
commit
63d0c1d55a
1 changed files with 2 additions and 3 deletions
|
@ -3770,8 +3770,7 @@ static BOOL LISTVIEW_DrawItem(LISTVIEW_INFO *infoPtr, HDC hdc, INT nItem, INT nS
|
||||||
if (himl && lvItem.iImage >= 0 && !IsRectEmpty(&rcIcon))
|
if (himl && lvItem.iImage >= 0 && !IsRectEmpty(&rcIcon))
|
||||||
{
|
{
|
||||||
TRACE("iImage=%d\n", lvItem.iImage);
|
TRACE("iImage=%d\n", lvItem.iImage);
|
||||||
ImageList_DrawEx(himl, lvItem.iImage, hdc, rcIcon.left, rcIcon.top,
|
ImageList_Draw(himl, lvItem.iImage, hdc, rcIcon.left, rcIcon.top,
|
||||||
rcIcon.right - rcIcon.left, rcIcon.bottom - rcIcon.top, infoPtr->clrBk, CLR_DEFAULT,
|
|
||||||
(lvItem.state & LVIS_SELECTED) && (infoPtr->bFocus) ? ILD_SELECTED : ILD_NORMAL);
|
(lvItem.state & LVIS_SELECTED) && (infoPtr->bFocus) ? ILD_SELECTED : ILD_NORMAL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue