mirror of
https://github.com/reactos/reactos.git
synced 2024-10-22 13:56:16 +00:00
[Win32k]
- Notify FIXME HACK Alert! Are we setting parent to early? svn path=/trunk/; revision=62612
This commit is contained in:
parent
6dfbda58e8
commit
785a8b7ebe
|
@ -1776,6 +1776,7 @@ PWND FASTCALL IntCreateWindow(CREATESTRUCTW* Cs,
|
||||||
*/
|
*/
|
||||||
if ( Class->fnid != FNID_DIALOG )
|
if ( Class->fnid != FNID_DIALOG )
|
||||||
{
|
{
|
||||||
|
ERR("No parent and not a dialog Fix HACK\n");
|
||||||
if (pti->ppi->dwLayout & LAYOUT_RTL)
|
if (pti->ppi->dwLayout & LAYOUT_RTL)
|
||||||
{
|
{
|
||||||
Cs->dwExStyle |= WS_EX_LAYOUTRTL;
|
Cs->dwExStyle |= WS_EX_LAYOUTRTL;
|
||||||
|
@ -2114,7 +2115,10 @@ co_UserCreateWindowEx(CREATESTRUCTW* Cs,
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Now find the parent and the owner window */
|
/* Now find the parent and the owner window */
|
||||||
|
///////////////
|
||||||
|
// FIXME!!!! Breaks wine win.c test_CreateWindow line 5470!
|
||||||
hWndParent = pti->rpdesk->pDeskInfo->spwnd->head.h;
|
hWndParent = pti->rpdesk->pDeskInfo->spwnd->head.h;
|
||||||
|
///////////////
|
||||||
hWndOwner = NULL;
|
hWndOwner = NULL;
|
||||||
|
|
||||||
if (Cs->hwndParent == HWND_MESSAGE)
|
if (Cs->hwndParent == HWND_MESSAGE)
|
||||||
|
|
Loading…
Reference in a new issue