* use supplied parent window handle when class is of type system

* this is temp hack for getting edit controls with notification windows going
* reduces user32_winetest.exe from 43 to 2 total faults

svn path=/trunk/; revision=23251
This commit is contained in:
Johannes Anderwald 2006-07-23 18:12:19 +00:00
parent e685ced6d0
commit bef2c32a89

View file

@ -1508,6 +1508,17 @@ co_IntCreateWindowEx(DWORD dwExStyle,
RETURN(NULL);
}
if (Class->System)
{
if (hWndParent)
{
/* HACK
* use supplied window handle for notifications
*/
ParentWindowHandle = hWndParent;
}
}
WinSta = PsGetCurrentThreadWin32Thread()->Desktop->WindowStation;
//FIXME: Reference thread/desktop instead