user32: Don't reset focus if current dialog is a child.
commitd8a27a78dd83f52b26cf8b7711f3ea127c0b34f7
authorAlistair Leslie-Hughes <leslie_alistair@hotmail.com>
Fri, 14 Dec 2018 04:00:43 +0000 (14 04:00 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 17 Dec 2018 21:35:14 +0000 (17 22:35 +0100)
tree070051cdf38d707229f543ae6250766a3016b823
parent02d039b559eb02ff373e076a7f7de60bba097213
user32: Don't reset focus if current dialog is a child.

The standard File Open Dialog creates an empty WS_EX_CONTROLPARENT
child dialog which shouldn't receive focus.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46215
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/user32/dialog.c
dlls/user32/tests/dialog.c