user32: Handle VK_ESCAPE correctly in EDIT_WM_KeyDown.
diff --git a/dlls/user32/edit.c b/dlls/user32/edit.c
index f359555..2159ab7 100644
--- a/dlls/user32/edit.c
+++ b/dlls/user32/edit.c
@@ -4610,6 +4610,10 @@
                     SendMessageW( hwndParent, WM_COMMAND, IDOK, (LPARAM)GetDlgItem( hwndParent, IDOK ) );
 	    }
 	    break;
+        case VK_ESCAPE:
+	    if (!(es->style & ES_MULTILINE))
+                SendMessageW(GetParent(es->hwndSelf), WM_COMMAND, IDCANCEL, (LPARAM)GetDlgItem( GetParent(es->hwndSelf), IDCANCEL ) );
+            break;
 	}
 	return 0;
 }