From 769eb79128169cd86791a9f8a51a6fc2e468f2e8 Mon Sep 17 00:00:00 2001 From: James Tabor Date: Sat, 2 Jun 2012 03:56:23 +0000 Subject: [PATCH] - Fix a FIXME and fix the last test in wine Win test_ShowWindow. svn path=/trunk/; revision=56689 --- reactos/win32ss/user/user32/windows/window.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/reactos/win32ss/user/user32/windows/window.c b/reactos/win32ss/user/user32/windows/window.c index 6dc86486660..53ed882e6a2 100644 --- a/reactos/win32ss/user/user32/windows/window.c +++ b/reactos/win32ss/user/user32/windows/window.c @@ -1501,7 +1501,9 @@ IsWindow(HWND hWnd) PWND Wnd = ValidateHwndNoErr(hWnd); if (Wnd != NULL) { - /* FIXME: If window is being destroyed return FALSE! */ + if (Wnd->state & WNDS_DESTROYED || + Wnd->state2 & WNDS2_INDESTROY) + return FALSE; return TRUE; } -- 2.17.1