From: James Tabor Date: Sat, 2 Jun 2012 03:56:23 +0000 (+0000) Subject: - Fix a FIXME and fix the last test in wine Win test_ShowWindow. X-Git-Tag: backups/ros-csrss@57560~854 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=769eb79128169cd86791a9f8a51a6fc2e468f2e8 - Fix a FIXME and fix the last test in wine Win test_ShowWindow. svn path=/trunk/; revision=56689 --- 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; }