Alexander Dorofeyev : comctl32: Pass command id of button in wParam.

Alexandre Julliard julliard at winehq.org
Mon Oct 29 08:35:02 CDT 2007


Module: wine
Branch: master
Commit: 77c376e0f83f7430f6549367297f81660b33cb44
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=77c376e0f83f7430f6549367297f81660b33cb44

Author: Alexander Dorofeyev <alexd14 at hushmail.com>
Date:   Sun Oct 28 18:59:07 2007 -0700

comctl32: Pass command id of button in wParam.

---

 dlls/comctl32/toolbar.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/comctl32/toolbar.c b/dlls/comctl32/toolbar.c
index 921c0ff..b55298a 100644
--- a/dlls/comctl32/toolbar.c
+++ b/dlls/comctl32/toolbar.c
@@ -6374,7 +6374,7 @@ static LRESULT TOOLBAR_TTGetDispInfo (TOOLBAR_INFO *infoPtr, NMTTDISPINFOW *lpnm
 
     /* last resort: send notification on to app */
     /* FIXME: find out what is really used here */
-    return SendMessageW(infoPtr->hwndNotify, WM_NOTIFY, 0, (LPARAM)lpnmtdi);
+    return SendMessageW(infoPtr->hwndNotify, WM_NOTIFY, (WPARAM)lpnmtdi->hdr.idFrom, (LPARAM)lpnmtdi);
 }
 
 




More information about the wine-cvs mailing list