Commit fc4b906d authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

user32: Don't enable owner in DIALOG_DoDialogBox.

parent 2f8f9d20
......@@ -241,7 +241,6 @@ typedef struct tagDIALOGINFO
} DIALOGINFO;
#define DF_END 0x0001
#define DF_OWNERENABLED 0x0002
extern DIALOGINFO *DIALOG_get_info( HWND hwnd, BOOL create ) DECLSPEC_HIDDEN;
extern INT DIALOG_DoDialogBox( HWND hwnd ) DECLSPEC_HIDDEN;
......
......@@ -601,7 +601,6 @@ static HWND DIALOG_CreateIndirect( HINSTANCE hInst, LPCVOID dlgTemplate,
}
if (IsWindowEnabled( owner ))
{
flags |= DF_OWNERENABLED;
disabled_owner = owner;
EnableWindow( disabled_owner, FALSE );
}
......@@ -822,7 +821,6 @@ INT DIALOG_DoDialogBox( HWND hwnd )
}
}
}
if (dlgInfo->flags & DF_OWNERENABLED) EnableWindow( owner, TRUE );
retval = dlgInfo->idResult;
DestroyWindow( hwnd );
return retval;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment