Author: jimtabor
Date: Sat Jun 2 03:56:23 2012
New Revision: 56689
URL:
http://svn.reactos.org/svn/reactos?rev=56689&view=rev
Log:
- Fix a FIXME and fix the last test in wine Win test_ShowWindow.
Modified:
trunk/reactos/win32ss/user/user32/windows/window.c
Modified: trunk/reactos/win32ss/user/user32/windows/window.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/user32/window…
==============================================================================
--- trunk/reactos/win32ss/user/user32/windows/window.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/user32/windows/window.c [iso-8859-1] Sat Jun 2 03:56:23
2012
@@ -1501,7 +1501,9 @@
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;
}