From 23d3f4046229dc361cccdccd205f61d6732360dd Mon Sep 17 00:00:00 2001 From: Richard Campbell Date: Fri, 28 Feb 2003 23:20:41 +0000 Subject: [PATCH] oops. svn path=/trunk/; revision=4217 --- reactos/lib/user32/windows/defwnd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/lib/user32/windows/defwnd.c b/reactos/lib/user32/windows/defwnd.c index 93a99f4b017..8edd8c11839 100644 --- a/reactos/lib/user32/windows/defwnd.c +++ b/reactos/lib/user32/windows/defwnd.c @@ -1,4 +1,4 @@ -/* $Id: defwnd.c,v 1.21 2003/02/28 23:19:32 rcampbell Exp $ +/* $Id: defwnd.c,v 1.22 2003/02/28 23:20:41 rcampbell Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS user32.dll @@ -225,7 +225,7 @@ static void UserDrawCloseButton ( HWND hWnd, HDC hDC, BOOL down ) UserGetInsideRectNC( hWnd, &rect ); hDCMem = CreateCompatibleDC( hDC ); - SelectObject( hDCMem, (down ? hbitmapCloseD : hbitmapClose) ); + SelectObject( hDCMem, (hbitmapClose) ); BitBlt( hDC,rect.right - GetSystemMetrics(SM_CXSMSIZE), rect.top + 1, GetSystemMetrics(SM_CXSMSIZE) + 1, GetSystemMetrics(SM_CYSMSIZE),