[user32]
[reactos.git] / reactos / subsystems / win32 / win32k / ntuser / defwnd.c
index 6cf4fd0..afc60e8 100644 (file)
@@ -129,7 +129,7 @@ IntDefWindowProc(
       {
          if ((Wnd->style & WS_VISIBLE) && wParam) break;
          if (!(Wnd->style & WS_VISIBLE) && !wParam) break;
-         if (!Window->hOwner) break;
+         if (!Window->spwndOwner) break;
          if (LOWORD(lParam))
          {
             if (wParam)