Author: jimtabor
Date: Thu Jul 5 22:10:03 2012
New Revision: 56840
URL:
http://svn.reactos.org/svn/reactos?rev=56840&view=rev
Log:
- Fix build.
Modified:
trunk/reactos/win32ss/user/user32/windows/defwnd.c
Modified: trunk/reactos/win32ss/user/user32/windows/defwnd.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/user32/window…
==============================================================================
--- trunk/reactos/win32ss/user/user32/windows/defwnd.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/user32/windows/defwnd.c [iso-8859-1] Thu Jul 5 22:10:03
2012
@@ -1027,6 +1027,13 @@
LPARAM lParam,
BOOL bUnicode)
{
+ PWND pWnd = NULL;
+ if (hWnd)
+ {
+ pWnd = ValidateHwnd(hWnd);
+ if (!pWnd) return 0;
+ }
+
switch (Msg)
{
case WM_NCPAINT:
@@ -1531,10 +1538,7 @@
case WM_ISACTIVEICON:
{
- PWND pWnd;
BOOL isai;
- pWnd = ValidateHwnd(hWnd);
- if (!pWnd) return 0;
isai = (pWnd->state & WNDS_ACTIVEFRAME) != 0;
return isai;
}