mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
comctl32: Fix item rect calculation.
This commit is contained in:
parent
590bf1be88
commit
a4d3e46e65
1 changed files with 1 additions and 1 deletions
|
@ -1980,7 +1980,7 @@ static void LISTVIEW_GetItemMetrics(const LISTVIEW_INFO *infoPtr, const LVITEMW
|
|||
(!lpColumnInfo || lpLVItem->iSubItem == 0 || (lpColumnInfo->fmt & LVCFMT_IMAGE) ||
|
||||
((infoPtr->dwLvExStyle & LVS_EX_SUBITEMIMAGES) && lpLVItem->iImage != I_IMAGECALLBACK)))
|
||||
Icon.right += infoPtr->iconSize.cx;
|
||||
Icon.bottom = Icon.top + infoPtr->nItemHeight;
|
||||
Icon.bottom = Icon.top + infoPtr->iconSize.cy;
|
||||
}
|
||||
if(lprcIcon) *lprcIcon = Icon;
|
||||
TRACE(" - icon=%s\n", wine_dbgstr_rect(&Icon));
|
||||
|
|
Loading…
Reference in a new issue