FindWindow failed for 32 bit windows with style != WS_CHILD.
This commit is contained in:
parent
5954560598
commit
0aa7fdbd30
|
@ -1150,7 +1150,7 @@ static HWND32 WIN_FindWindow( HWND32 parent, HWND32 child, ATOM className,
|
|||
{
|
||||
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 */
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue