mirror of
https://github.com/reactos/wine.git
synced 2025-01-24 04:45:18 +00:00
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…
x
Reference in New Issue
Block a user