diff --git a/reactos/win32ss/user/ntuser/window.c b/reactos/win32ss/user/ntuser/window.c index 7304964902d..c4abda900d4 100644 --- a/reactos/win32ss/user/ntuser/window.c +++ b/reactos/win32ss/user/ntuser/window.c @@ -1463,7 +1463,7 @@ NtUserBuildHwndList( static void IntSendParentNotify( PWND pWindow, UINT msg ) { if ( (pWindow->style & (WS_CHILD | WS_POPUP)) == WS_CHILD && - !(pWindow->style & WS_EX_NOPARENTNOTIFY)) + !(pWindow->ExStyle & WS_EX_NOPARENTNOTIFY)) { if (VerifyWnd(pWindow->spwndParent) && pWindow->spwndParent != UserGetDesktopWindow()) {