Nikolay Sivov : comctl32/tab: Send NM_RCLICK on WM_RBUTTONUP.

Alexandre Julliard julliard at winehq.org
Fri May 13 11:17:49 CDT 2011


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

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Fri May 13 00:46:39 2011 +0400

comctl32/tab: Send NM_RCLICK on WM_RBUTTONUP.

---

 dlls/comctl32/tab.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/comctl32/tab.c b/dlls/comctl32/tab.c
index bd34358..0424f7f 100644
--- a/dlls/comctl32/tab.c
+++ b/dlls/comctl32/tab.c
@@ -707,7 +707,7 @@ TAB_LButtonUp (const TAB_INFO *infoPtr)
 }
 
 static inline LRESULT
-TAB_RButtonDown (const TAB_INFO *infoPtr)
+TAB_RButtonUp (const TAB_INFO *infoPtr)
 {
   TAB_SendSimpleNotify(infoPtr, NM_RCLICK);
   return 0;
@@ -3427,8 +3427,8 @@ TAB_WindowProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
     case WM_NOTIFY:
       return SendMessageW(infoPtr->hwndNotify, WM_NOTIFY, wParam, lParam);
 
-    case WM_RBUTTONDOWN:
-      return TAB_RButtonDown (infoPtr);
+    case WM_RBUTTONUP:
+      return TAB_RButtonUp (infoPtr);
 
     case WM_MOUSEMOVE:
       return TAB_MouseMove (infoPtr, wParam, lParam);




More information about the wine-cvs mailing list