- Fix a FIXME and fix the last test in wine Win test_ShowWindow.

svn path=/trunk/; revision=56689
This commit is contained in:
James Tabor 2012-06-02 03:56:23 +00:00
parent e0d8684a66
commit 769eb79128

View file

@ -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;
}