mirror of
https://github.com/reactos/reactos.git
synced 2024-07-05 12:15:46 +00:00
* 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:
parent
e685ced6d0
commit
bef2c32a89
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue