mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 11:46:50 +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,9 +3770,8 @@ static BOOL LISTVIEW_DrawItem(LISTVIEW_INFO *infoPtr, HDC hdc, INT nItem, INT nS
|
|||
if (himl && lvItem.iImage >= 0 && !IsRectEmpty(&rcIcon))
|
||||
{
|
||||
TRACE("iImage=%d\n", lvItem.iImage);
|
||||
ImageList_DrawEx(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);
|
||||
ImageList_Draw(himl, lvItem.iImage, hdc, rcIcon.left, rcIcon.top,
|
||||
(lvItem.state & LVIS_SELECTED) && (infoPtr->bFocus) ? ILD_SELECTED : ILD_NORMAL);
|
||||
}
|
||||
|
||||
/* Don't bother painting item being edited */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue