mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 06:30:46 +00:00
user32: Don't enable owner in DIALOG_DoDialogBox.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
2f8f9d20aa
commit
fc4b906d78
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue