Huw Davies : riched20: Send WM_CHAR notifications.

Alexandre Julliard julliard at winehq.org
Thu Feb 28 15:49:47 CST 2013


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

Author: Huw Davies <huw at codeweavers.com>
Date:   Thu Feb 28 13:52:55 2013 +0000

riched20: Send WM_CHAR notifications.

---

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

diff --git a/dlls/riched20/editor.c b/dlls/riched20/editor.c
index 727b632..b9df118 100644
--- a/dlls/riched20/editor.c
+++ b/dlls/riched20/editor.c
@@ -4050,6 +4050,9 @@ LRESULT ME_HandleMessage(ME_TextEditor *editor, UINT msg, WPARAM wParam,
       return 0;
     goto do_default;
   case WM_CHAR:
+    if ((editor->nEventMask & ENM_KEYEVENTS) &&
+        !ME_FilterEvent(editor, msg, &wParam, &lParam))
+      return 0;
     return ME_Char(editor, wParam, lParam, unicode);
   case WM_UNICHAR:
     if (unicode)




More information about the wine-cvs mailing list