Alexandre Julliard : user32/tests: Make hook messages optional in the SetParent test.

Alexandre Julliard julliard at winehq.org
Mon Jul 25 11:43:10 CDT 2011


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Sun Jul 24 13:18:01 2011 +0200

user32/tests: Make hook messages optional in the SetParent test.

---

 dlls/user32/tests/msg.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c
index afca225..7e33a22 100644
--- a/dlls/user32/tests/msg.c
+++ b/dlls/user32/tests/msg.c
@@ -12847,12 +12847,12 @@ static const struct message WmSetParentSeq_2[] = {
     { WM_KILLFOCUS, sent|wparam, 0 },
     { EVENT_OBJECT_PARENTCHANGE, winevent_hook|wparam|lparam, 0, 0 },
     { WM_WINDOWPOSCHANGING, sent|wparam, SWP_NOSIZE },
-    { HCBT_ACTIVATE, hook },
+    { HCBT_ACTIVATE, hook|optional },
     { EVENT_SYSTEM_FOREGROUND, winevent_hook|wparam|lparam, 0, 0 },
     { WM_WINDOWPOSCHANGING, sent|wparam|optional, SWP_NOSIZE|SWP_NOMOVE },
     { WM_NCACTIVATE, sent|wparam|optional, 1 },
     { WM_ACTIVATE, sent|wparam|optional, 1 },
-    { HCBT_SETFOCUS, hook },
+    { HCBT_SETFOCUS, hook|optional },
     { EVENT_OBJECT_FOCUS, winevent_hook|wparam|lparam, OBJID_CLIENT, 0 },
     { WM_SETFOCUS, sent|optional|defwinproc },
     { WM_WINDOWPOSCHANGED, sent|wparam, SWP_NOREDRAW|SWP_NOSIZE|SWP_NOCLIENTSIZE },




More information about the wine-cvs mailing list