- Check if server side window proc is set when clearing or setting dialog window...
authorJames Tabor <james.tabor@reactos.org>
Wed, 12 Aug 2009 07:42:30 +0000 (07:42 +0000)
committerJames Tabor <james.tabor@reactos.org>
Wed, 12 Aug 2009 07:42:30 +0000 (07:42 +0000)
svn path=/trunk/; revision=42633

reactos/subsystems/win32/win32k/ntuser/simplecall.c

index 17fc8bf..e01717f 100644 (file)
@@ -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)
             {