summaryrefslogtreecommitdiffstats
path: root/winsup/w32api/include/commctrl.h
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2005-07-18 10:12:49 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2005-07-18 10:12:49 +0000
commitea4ec943470293a349f9013e08483636f253940a (patch)
treee1912b43943a9070e8e5cf4575f40091260bdaf3 /winsup/w32api/include/commctrl.h
parent6c325681e284733352aa77873d138e68fbec3d70 (diff)
downloadcygnal-ea4ec943470293a349f9013e08483636f253940a.tar.gz
cygnal-ea4ec943470293a349f9013e08483636f253940a.tar.bz2
cygnal-ea4ec943470293a349f9013e08483636f253940a.zip
* include/commctrl.h (TreeView_SetItemState): Initilise
_tvi.hItem. Thanks to Joseph Remes <jremes at users dot sourceforge dot net>
Diffstat (limited to 'winsup/w32api/include/commctrl.h')
-rw-r--r--winsup/w32api/include/commctrl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/w32api/include/commctrl.h b/winsup/w32api/include/commctrl.h
index bd1ee9722..b9c8fb99d 100644
--- a/winsup/w32api/include/commctrl.h
+++ b/winsup/w32api/include/commctrl.h
@@ -3233,6 +3233,7 @@ WINBOOL WINAPI ImageList_DrawIndirect(IMAGELISTDRAWPARAMS*);
{ \
TVITEM _tvi;\
_tvi.mask=TVIF_STATE;\
+ _tvi.hItem=i; \
_tvi.stateMask=m;\
_tvi.state=d;\
SNDMSG((w),TVM_SETITEM,0,(LPARAM)(TVITEM*)&_tvi);\