Alexander Dorofeyev : comctl32: Pass command id of button in wParam.
Module: wine Branch: master Commit: 77c376e0f83f7430f6549367297f81660b33cb44 URL: http://source.winehq.org/git/wine.git/?a=commit;h=77c376e0f83f7430f654936729... Author: Alexander Dorofeyev <alexd14(a)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); }
participants (1)
-
Alexandre Julliard