- Do not block calling thread when sending WM_PARENTNOTIFY messages. Fixes hang at end of user32 winetest for msg.

svn path=/trunk/; revision=51254
This commit is contained in:
Michael Martin 2011-04-04 21:15:07 +00:00
parent 7fcd953546
commit 9990b69447

View file

@ -1529,10 +1529,10 @@ static void IntSendParentNotify( PWND pWindow, UINT msg )
{
if (pWindow->spwndParent && pWindow->spwndParent != UserGetDesktopWindow())
{
co_IntSendMessage( pWindow->spwndParent->head.h,
WM_PARENTNOTIFY,
MAKEWPARAM( msg, pWindow->IDMenu),
(LPARAM)pWindow->head.h );
co_IntSendMessageNoWait( pWindow->spwndParent->head.h,
WM_PARENTNOTIFY,
MAKEWPARAM( msg, pWindow->IDMenu),
(LPARAM)pWindow->head.h );
}
}
}