diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index 3e670a165..fb51f8463 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,3 +1,7 @@ +2003-10-07 Manu B + + * include/commctrl.h (TreeView_Select): Returns BOOL. + 2003-10-06 Dimitri Papadopoulos * include/winbase.h (CancelDeviceWakeupRequest): Add function. diff --git a/winsup/w32api/include/commctrl.h b/winsup/w32api/include/commctrl.h index 15f2d24d2..a3ea96eec 100644 --- a/winsup/w32api/include/commctrl.h +++ b/winsup/w32api/include/commctrl.h @@ -2982,7 +2982,7 @@ BOOL WINAPI _TrackMouseEvent(LPTRACKMOUSEEVENT); #define TreeView_GetSelection(w) TreeView_GetNextItem(w,NULL,TVGN_CARET) #define TreeView_GetDropHilight(w) TreeView_GetNextItem(w,NULL,TVGN_DROPHILITE) #define TreeView_GetRoot(w) TreeView_GetNextItem(w,NULL,TVGN_ROOT) -#define TreeView_Select(w,i,c) (HTREEITEM)SNDMSG((w),TVM_SELECTITEM,c,(LPARAM)(HTREEITEM)(i)) +#define TreeView_Select(w,i,c) (BOOL)SNDMSG((w),TVM_SELECTITEM,c,(LPARAM)(HTREEITEM)(i)) #define TreeView_SelectItem(w,i) TreeView_Select(w,i,TVGN_CARET) #define TreeView_SelectDropTarget(w,i) TreeView_Select(w,i,TVGN_DROPHILITE) #define TreeView_SelectSetFirstVisible(w,i) TreeView_Select(w,i,TVGN_FIRSTVISIBLE)