Hugh McMaster : user32/tests: Add some expected WPARAM values to the SetFocusComboBox sequences.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Jan 29 09:10:09 CST 2016


Module: wine
Branch: master
Commit: e7e33aecb3ff407406f7d146079d765503d8c4f8
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=e7e33aecb3ff407406f7d146079d765503d8c4f8

Author: Hugh McMaster <hugh.mcmaster at outlook.com>
Date:   Fri Jan 29 20:15:56 2016 +1100

user32/tests: Add some expected WPARAM values to the SetFocusComboBox sequences.

Signed-off-by: Hugh McMaster <hugh.mcmaster at outlook.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 */




More information about the wine-cvs mailing list