Module: wine Branch: refs/heads/master Commit: 5f32291ace3f56884a5cb6d5affc1907bac62425 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=5f32291ace3f56884a5cb6d5...
Author: Krzysztof Foltman wdev@foltman.com Date: Thu Aug 3 19:53:54 2006 +0200
riched20: Ctrl+A should be allowed in read-only controls too.
---
dlls/riched20/editor.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/riched20/editor.c b/dlls/riched20/editor.c index 72a6a78..99422e2 100644 --- a/dlls/riched20/editor.c +++ b/dlls/riched20/editor.c @@ -2302,6 +2302,9 @@ LRESULT WINAPI RichEditANSIWndProc(HWND
switch (wstr) { + case 1: /* Ctrl-A */ + ME_SetSelection(editor, 0, -1); + return 0; case 3: /* Ctrl-C */ SendMessageW(editor->hWnd, WM_COPY, 0, 0); return 0; @@ -2314,9 +2317,6 @@ LRESULT WINAPI RichEditANSIWndProc(HWND
switch (wstr) { - case 1: /* Ctrl-A */ - ME_SetSelection(editor, 0, -1); - return 0; case 22: /* Ctrl-V */ SendMessageW(editor->hWnd, WM_PASTE, 0, 0); return 0;