MDIDestroyChild: MDI window menu item was deleted only if the current

destroyed child was active.
This commit is contained in:
Noomen Hamza 1999-07-20 15:03:28 +00:00 committed by Alexandre Julliard
parent b3f4bc87ac
commit edd3d4afc2
1 changed files with 2 additions and 1 deletions

View File

@ -523,8 +523,9 @@ static LRESULT MDIDestroyChild( WND *w_parent, MDICLIENTINFO *ci,
MDI_ChildActivate(w_parent, 0);
}
MDI_MenuDeleteItem(w_parent, child);
}
MDI_MenuDeleteItem(w_parent, child);
WIN_ReleaseWndPtr(childPtr);
ci->nActiveChildren--;