We need to at least refresh the window menu in ChildActivate, so for

now remove the 'is already activated' optimization.
This commit is contained in:
Huw Davies 2004-03-09 23:26:18 +00:00 committed by Alexandre Julliard
parent cc02d9548e
commit 6174bccfb1

View file

@ -559,11 +559,6 @@ static LONG MDI_ChildActivate( HWND client, HWND child )
clientInfo = get_client_info( client );
/* Don't activate if it is already active. Might happen
since ShowWindow DOES activate MDI children */
if (clientInfo->hwndActiveChild == child)
return 0;
TRACE("%p\n", child);
isActiveFrameWnd = (GetActiveWindow() == GetParent(client));