Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>

Adds some undocumented behavior to TREEVIEW_GetItemA().
This commit is contained in:
Alexandre Julliard 1999-06-13 08:40:45 +00:00
parent 1ab8907fce
commit 49080d3b59
1 changed files with 3 additions and 3 deletions

View File

@ -1145,9 +1145,9 @@ TREEVIEW_GetItemA (HWND hwnd, WPARAM wParam, LPARAM lParam)
FIXME(" TVIF_INTEGRAL not supported yet\n");
}
if (tvItem->mask & TVIF_PARAM) {
tvItem->lParam=wineItem->lParam;
}
// undocumented: windows ignores TVIF_PARAM and
// always sets lParam
tvItem->lParam=wineItem->lParam;
if (tvItem->mask & TVIF_SELECTEDIMAGE) {
tvItem->iSelectedImage=wineItem->iSelectedImage;