riched20/tests: Remove unnecessary SetFocus calls.

This commit is contained in:
Dylan Smith 2011-09-26 02:29:33 -04:00 committed by Alexandre Julliard
parent fdb2bc4be9
commit 9d2da7fa66
1 changed files with 0 additions and 2 deletions

View File

@ -1541,7 +1541,6 @@ static void test_EM_SETOPTIONS(void)
SendMessage(hwndRichEdit, EM_SETOPTIONS, ECOOP_SET, 0);
/* testing no readonly by sending 'a' to the control*/
SetFocus(hwndRichEdit);
SendMessage(hwndRichEdit, WM_CHAR, 'a', 0x1E0001);
SendMessage(hwndRichEdit, WM_GETTEXT, 1024, (LPARAM) buffer);
ok(buffer[0]=='a',
@ -1551,7 +1550,6 @@ static void test_EM_SETOPTIONS(void)
/* READONLY - sending 'a' to the control */
SendMessage(hwndRichEdit, WM_SETTEXT, 0, (LPARAM) text);
SendMessage(hwndRichEdit, EM_SETOPTIONS, ECOOP_SET, ECO_READONLY);
SetFocus(hwndRichEdit);
SendMessage(hwndRichEdit, WM_CHAR, 'a', 0x1E0001);
SendMessage(hwndRichEdit, WM_GETTEXT, 1024, (LPARAM) buffer);
ok(buffer[0]==text[0],