[PATCH] user32/tests: Add some expected WPARAM values to the SetFocusComboBox sequences

Hugh McMaster hugh.mcmaster at outlook.com
Fri Jan 29 03:15:56 CST 2016


Signed-off-by: Hugh McMaster <hugh.mcmaster at outlook.com>
---
 dlls/user32/tests/msg.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c
index cdc0364..d20f28b 100644
--- a/dlls/user32/tests/msg.c
+++ b/dlls/user32/tests/msg.c
@@ -5942,7 +5942,7 @@ static const struct message WMSetFocusComboBoxSeq[] =
     { WM_SETFOCUS, sent },
     { WM_KILLFOCUS, sent|parent },
     { WM_SETFOCUS, sent },
-    { WM_COMMAND, sent|defwinproc },
+    { WM_COMMAND, sent|defwinproc|wparam, MAKEWPARAM(1001, EN_SETFOCUS) },
     { EM_SETSEL, sent|defwinproc|wparam|lparam, 0, INT_MAX },
     { WM_CTLCOLOREDIT, sent|defwinproc|optional },/* Not sent on W2000, XP or Server 2003 */
     { WM_CTLCOLOREDIT, sent|parent|optional },/* Not sent on W2000, XP or Server 2003 */
@@ -5971,7 +5971,7 @@ static const struct message SetFocusComboBoxSeq[] =
     { WM_SETFOCUS, sent },
     { WM_KILLFOCUS, sent|defwinproc },
     { WM_SETFOCUS, sent },
-    { WM_COMMAND, sent|defwinproc },
+    { WM_COMMAND, sent|defwinproc|wparam, MAKEWPARAM(1001, EN_SETFOCUS) },
     { EM_SETSEL, sent|defwinproc|wparam|lparam, 0, INT_MAX },
     { WM_CTLCOLOREDIT, sent|defwinproc|optional },/* Not sent on W2000, XP or Server 2003 */
     { WM_CTLCOLOREDIT, sent|parent|optional },/* Not sent on W2000, XP or Server 2003 */
-- 
1.9.1




More information about the wine-patches mailing list