comctl32: Re-enable the parent before destroying the dialog.
commit4e2d25c7cd22ae4c7ea1be9126c1f7183ebcd722
authorStefan Dösinger <stefan@codeweavers.com>
Fri, 30 Oct 2015 18:33:11 +0000 (30 19:33 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 2 Nov 2015 14:02:23 +0000 (2 23:02 +0900)
tree73fdf9c60edaf84d2436359eab0e2f5ec645944f
parentf16396ceecc811fad38480215f438122a877c1bc
comctl32: Re-enable the parent before destroying the dialog.

Prevent 1602 AD from minimizing when the multiplayer dialog is
closed. When DestroyWindow is called, user32 tries to find a window to
activate, finds the main game window disabled and decides to go to the
desktop. Wined3d will help this process by minimizing the game out of
the way.

Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/comctl32/propsheet.c