Nikolay Sivov : comctl32/listview: Add LVSIL_GROUPHEADER definition.

Alexandre Julliard julliard at winehq.org
Mon Nov 23 08:49:52 CST 2009


Module: wine
Branch: master
Commit: 90c4abe86fe48c666c72f646558321e254f41c2d
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=90c4abe86fe48c666c72f646558321e254f41c2d

Author: Nikolay Sivov <bunglehead at gmail.com>
Date:   Sat Nov 21 17:09:58 2009 +0300

comctl32/listview: Add LVSIL_GROUPHEADER definition.

---

 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 4d2edd0..24b90bc 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 */




More information about the wine-cvs mailing list