Module: wine Branch: master Commit: ae1b735547857fd8473b7d01c6be1ee586807e6a URL: http://source.winehq.org/git/wine.git/?a=commit;h=ae1b735547857fd8473b7d01c6...
Author: Lei Zhang thestig@google.com Date: Thu Apr 24 22:17:38 2008 -0700
user32: Edit controls should ignore WM_KEYDOWN on control + enter.
---
dlls/user32/edit.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/user32/edit.c b/dlls/user32/edit.c index 4c0342b..b58dc96 100644 --- a/dlls/user32/edit.c +++ b/dlls/user32/edit.c @@ -4606,6 +4606,7 @@ static LRESULT EDIT_WM_KeyDown(EDITSTATE *es, INT key) DWORD dw;
if (!EDIT_IsInsideDialog(es)) return 1; + if (control) break; hwndParent = GetParent(es->hwndSelf); dw = SendMessageW( hwndParent, DM_GETDEFID, 0, 0 ); if (HIWORD(dw) == DC_HASDEFID)