Dan Kegel : riched20: Accept middle click as paste (like edit control does) .

Alexandre Julliard julliard at winehq.org
Tue Jun 19 15:36:25 CDT 2012


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

Author: Dan Kegel <dank at kegel.com>
Date:   Mon Jun 18 11:31:22 2012 -0700

riched20: Accept middle click as paste (like edit control does).

---

 dlls/riched20/editor.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/riched20/editor.c b/dlls/riched20/editor.c
index 6d5749a..44c7ad2 100644
--- a/dlls/riched20/editor.c
+++ b/dlls/riched20/editor.c
@@ -3591,6 +3591,7 @@ LRESULT ME_HandleMessage(ME_TextEditor *editor, UINT msg, WPARAM wParam,
     return FALSE;
   }
   case WM_PASTE:
+  case WM_MBUTTONDOWN:
     ME_Paste(editor);
     return 0;
   case WM_CUT:




More information about the wine-cvs mailing list