From f529b441b27c00f602c91e27573aadbef66c54a9 Mon Sep 17 00:00:00 2001 From: James Tabor Date: Wed, 12 Aug 2009 07:42:30 +0000 Subject: [PATCH] - Check if server side window proc is set when clearing or setting dialog window flag. svn path=/trunk/; revision=42633 --- reactos/subsystems/win32/win32k/ntuser/simplecall.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reactos/subsystems/win32/win32k/ntuser/simplecall.c b/reactos/subsystems/win32/win32k/ntuser/simplecall.c index 17fc8bf1500..e01717fad77 100644 --- a/reactos/subsystems/win32/win32k/ntuser/simplecall.c +++ b/reactos/subsystems/win32/win32k/ntuser/simplecall.c @@ -820,7 +820,8 @@ NtUserCallHwndParam( pWnd = Window->Wnd; if (pWnd->head.pti->ppi == PsGetCurrentProcessWin32Process() && - pWnd->cbwndExtra == DLGWINDOWEXTRA) + pWnd->cbwndExtra == DLGWINDOWEXTRA && + !(pWnd->state & WNDS_SERVERSIDEWINDOWPROC)) { if (Param) {