OSDN Git Service

* include/commctrl.h (TreeView_SetItemState): Initilise
authordannysmith <dannysmith>
Mon, 18 Jul 2005 10:12:46 +0000 (10:12 +0000)
committerdannysmith <dannysmith>
Mon, 18 Jul 2005 10:12:46 +0000 (10:12 +0000)
_tvi.hItem.
Thanks to Joseph Remes <jremes at users dot sourceforge dot net>

winsup/w32api/ChangeLog
winsup/w32api/include/commctrl.h

index ad12b3e..3ed76a0 100644 (file)
@@ -1,3 +1,9 @@
+2005-06-18  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * include/commctrl.h (TreeView_SetItemState): Initilise
+       _tvi.hItem.
+       Thanks to Joseph Remes <jremes at users dot sourceforge dot net>
+
 2005-07-18  Mattia Barbon  <mbarbon@users.sourceforge.net>
 
        * include/commctrl.h (NMLVFINDITEM): Add structure.
index bd1ee97..b9c8fb9 100644 (file)
@@ -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);\