comctl32/tab: Send NM_RCLICK on WM_RBUTTONUP.

This commit is contained in:
Nikolay Sivov 2011-05-13 00:46:39 +04:00 committed by Alexandre Julliard
parent f5304c4f73
commit 4daa5459f4
1 changed files with 3 additions and 3 deletions

View File

@ -707,7 +707,7 @@ TAB_LButtonUp (const TAB_INFO *infoPtr)
} }
static inline LRESULT static inline LRESULT
TAB_RButtonDown (const TAB_INFO *infoPtr) TAB_RButtonUp (const TAB_INFO *infoPtr)
{ {
TAB_SendSimpleNotify(infoPtr, NM_RCLICK); TAB_SendSimpleNotify(infoPtr, NM_RCLICK);
return 0; return 0;
@ -3427,8 +3427,8 @@ TAB_WindowProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
case WM_NOTIFY: case WM_NOTIFY:
return SendMessageW(infoPtr->hwndNotify, WM_NOTIFY, wParam, lParam); return SendMessageW(infoPtr->hwndNotify, WM_NOTIFY, wParam, lParam);
case WM_RBUTTONDOWN: case WM_RBUTTONUP:
return TAB_RButtonDown (infoPtr); return TAB_RButtonUp (infoPtr);
case WM_MOUSEMOVE: case WM_MOUSEMOVE:
return TAB_MouseMove (infoPtr, wParam, lParam); return TAB_MouseMove (infoPtr, wParam, lParam);