diff win/dw.c @ 32:f3bf96c2786d

Added missing exports, added new tree functions and signals, fixed Win32 problem of showing icons even when not explicitly set.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Mon, 27 Aug 2001 17:16:12 +0000
parents b1d7e8a28dfa
children 72675de7d229
line wrap: on
line diff
--- a/win/dw.c	Sat Aug 25 17:08:01 2001 +0000
+++ b/win/dw.c	Mon Aug 27 17:16:12 2001 +0000
@@ -4633,12 +4633,13 @@
 	LV_ITEM lvi;
 	int z;
 
-	lvi.mask = LVIF_DI_SETITEM | LVIF_TEXT;
+	lvi.mask = LVIF_DI_SETITEM | LVIF_TEXT | LVIF_IMAGE;
 	lvi.iSubItem = 0;
 	/* Insert at the end */
 	lvi.iItem = 1000000;
 	lvi.pszText = "";
 	lvi.cchTextMax = 1;
+	lvi.iImage = -1;
 
 	for(z=0;z<rowcount;z++)
 		ListView_InsertItem(handle, &lvi);