user32: Make sure that we send proper notifications in all cases.

This commit is contained in:
Dmitry Timoshkov 2008-05-10 13:08:43 +09:00 committed by Alexandre Julliard
parent 38cae0b2c4
commit 939c7f9c6b
1 changed files with 2 additions and 1 deletions

View File

@ -570,7 +570,8 @@ static LRESULT MDIDestroyChild( HWND client, MDICLIENTINFO *ci,
ci->hwndChildMaximized = 0;
MDI_UpdateFrameText(frame, client, TRUE, NULL);
}
if (flagDestroy) ci->hwndActiveChild = 0;
if (flagDestroy)
MDI_ChildActivate(client, 0);
}
}