mirror of
https://github.com/reactos/wine.git
synced 2025-02-18 03:48:01 +00:00
Fix the case where child=0 (last child) in MDI_ChildActivate.
This commit is contained in:
parent
8fd26b9134
commit
1e8b025423
@ -730,7 +730,7 @@ static LONG MDI_ChildActivate( HWND client, HWND child )
|
||||
HWND prevActiveWnd = clientInfo->hwndActiveChild;
|
||||
BOOL isActiveFrameWnd;
|
||||
|
||||
if (!IsWindowEnabled( child )) return 0;
|
||||
if (child && (!IsWindowEnabled( child ))) return 0;
|
||||
|
||||
/* Don't activate if it is already active. Might happen
|
||||
since ShowWindow DOES activate MDI children */
|
||||
|
Loading…
x
Reference in New Issue
Block a user