[PATCH 5/7] Add LVSIL_GROUPHEADER definition
Nikolay Sivov
bunglehead at gmail.com
Sat Nov 21 08:09:58 CST 2009
---
dlls/comctl32/listview.c | 9 +++++++--
include/commctrl.h | 1 +
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c
index b6e6e8c..feedce7 100644
--- a/dlls/comctl32/listview.c
+++ b/dlls/comctl32/listview.c
@@ -6205,8 +6205,13 @@ static HIMAGELIST LISTVIEW_GetImageList(const LISTVIEW_INFO *infoPtr, INT nImage
switch (nImageList)
{
case LVSIL_NORMAL: return infoPtr->himlNormal;
- case LVSIL_SMALL: return infoPtr->himlSmall;
- case LVSIL_STATE: return infoPtr->himlState;
+ case LVSIL_SMALL: return infoPtr->himlSmall;
+ case LVSIL_STATE: return infoPtr->himlState;
+ case LVSIL_GROUPHEADER:
+ FIXME("LVSIL_GROUPHEADER not supported\n");
+ break;
+ default:
+ WARN("got unknown imagelist index - %d\n", nImageList);
}
return NULL;
}
diff --git a/include/commctrl.h b/include/commctrl.h
index 23a296b..4360925 100644
--- a/include/commctrl.h
+++ b/include/commctrl.h
@@ -3015,6 +3015,7 @@ static const WCHAR WC_LISTVIEWW[] = { 'S','y','s',
#define LVSIL_NORMAL 0
#define LVSIL_SMALL 1
#define LVSIL_STATE 2
+#define LVSIL_GROUPHEADER 3
/* following 2 flags only for LVS_OWNERDATA listviews */
/* and only in report or list mode */
--
1.5.6.5
--=-ec08GdVt8pkSD19k75QH--
More information about the wine-patches
mailing list