Commit 0aa7fdbd authored by Juergen Schmied's avatar Juergen Schmied Committed by Alexandre Julliard

FindWindow failed for 32 bit windows with style != WS_CHILD.

parent 59545605
...@@ -1150,7 +1150,7 @@ static HWND32 WIN_FindWindow( HWND32 parent, HWND32 child, ATOM className, ...@@ -1150,7 +1150,7 @@ static HWND32 WIN_FindWindow( HWND32 parent, HWND32 child, ATOM className,
{ {
if (className && !(pWnd->dwStyle & WS_CHILD)) if (className && !(pWnd->dwStyle & WS_CHILD))
{ {
if (!(pClass = CLASS_FindClassByAtom( className, GetExePtr(pWnd->hInstance)))) if (!(pClass = CLASS_FindClassByAtom( className, pWnd->hInstance)))
continue; /* Skip this window */ continue; /* Skip this window */
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment