mirror of
https://github.com/reactos/reactos.git
synced 2025-06-08 19:00:42 +00:00
- Fix build.
svn path=/trunk/; revision=56840
This commit is contained in:
parent
1e0937de1c
commit
2cf18f8b33
1 changed files with 7 additions and 3 deletions
|
@ -1027,6 +1027,13 @@ User32DefWindowProc(HWND hWnd,
|
||||||
LPARAM lParam,
|
LPARAM lParam,
|
||||||
BOOL bUnicode)
|
BOOL bUnicode)
|
||||||
{
|
{
|
||||||
|
PWND pWnd = NULL;
|
||||||
|
if (hWnd)
|
||||||
|
{
|
||||||
|
pWnd = ValidateHwnd(hWnd);
|
||||||
|
if (!pWnd) return 0;
|
||||||
|
}
|
||||||
|
|
||||||
switch (Msg)
|
switch (Msg)
|
||||||
{
|
{
|
||||||
case WM_NCPAINT:
|
case WM_NCPAINT:
|
||||||
|
@ -1531,10 +1538,7 @@ User32DefWindowProc(HWND hWnd,
|
||||||
|
|
||||||
case WM_ISACTIVEICON:
|
case WM_ISACTIVEICON:
|
||||||
{
|
{
|
||||||
PWND pWnd;
|
|
||||||
BOOL isai;
|
BOOL isai;
|
||||||
pWnd = ValidateHwnd(hWnd);
|
|
||||||
if (!pWnd) return 0;
|
|
||||||
isai = (pWnd->state & WNDS_ACTIVEFRAME) != 0;
|
isai = (pWnd->state & WNDS_ACTIVEFRAME) != 0;
|
||||||
return isai;
|
return isai;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue