aboutsummaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorDimitri Papadopoulos <dimitri_at@users.sf.net>2003-10-07 05:41:46 +0000
committerDimitri Papadopoulos <dimitri_at@users.sf.net>2003-10-07 05:41:46 +0000
commit85c50f7194f1daaccfc609a9a2ef8499de4c91b7 (patch)
tree62ecffd491d27db1c2718cb452c03d1622129bd6 /winsup
parentd645cc87369405fc4cfb216c0938ab09100f8351 (diff)
downloadnewlib-85c50f7194f1daaccfc609a9a2ef8499de4c91b7.zip
newlib-85c50f7194f1daaccfc609a9a2ef8499de4c91b7.tar.gz
newlib-85c50f7194f1daaccfc609a9a2ef8499de4c91b7.tar.bz2
* include/commctrl.h (TreeView_Select): Returns BOOL.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/w32api/ChangeLog4
-rw-r--r--winsup/w32api/include/commctrl.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index 3e670a1..fb51f84 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -1,3 +1,7 @@
+2003-10-07 Manu B <manubee@users.sourceforge.net>
+
+ * include/commctrl.h (TreeView_Select): Returns BOOL.
+
2003-10-06 Dimitri Papadopoulos <papadopo@users.sourceforge.net>
* include/winbase.h (CancelDeviceWakeupRequest): Add function.
diff --git a/winsup/w32api/include/commctrl.h b/winsup/w32api/include/commctrl.h
index 15f2d24..a3ea96e 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)