From c49c4f3c5e041cfced41e73de7830459820397f9 Mon Sep 17 00:00:00 2001 From: Richard Campbell Date: Sun, 31 Aug 2003 14:25:28 +0000 Subject: [PATCH] - size of the close bitmap is now 16x14, i'd like to convert this to an icon like it's supposed to be, do we have icon support yet? svn path=/trunk/; revision=5954 --- reactos/lib/user32/resources/obm_close.bmp | Bin 246 -> 230 bytes reactos/lib/user32/windows/defwnd.c | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/lib/user32/resources/obm_close.bmp b/reactos/lib/user32/resources/obm_close.bmp index 0bb316a349f2e85f11381b620b1f31e457711887..bb5bd6b54da4fb1c484cc31c9d882d2e7a02ea46 100644 GIT binary patch delta 46 qcmeyy_>586$@dup1e5_O4ImZ(Vm=^dWMBc33=9Pmm8VQRt`7jU$Om@- delta 49 pcmaFH_>EE7$@d!r1e5_O4ImbPVnzlQutdW|U1txCS2LRDE2)O_N diff --git a/reactos/lib/user32/windows/defwnd.c b/reactos/lib/user32/windows/defwnd.c index c8b491409f4..d6ff41f04df 100644 --- a/reactos/lib/user32/windows/defwnd.c +++ b/reactos/lib/user32/windows/defwnd.c @@ -1,4 +1,4 @@ -/* $Id: defwnd.c,v 1.75 2003/08/29 11:00:19 gvg Exp $ +/* $Id: defwnd.c,v 1.76 2003/08/31 14:25:28 rcampbell Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS user32.dll @@ -320,7 +320,7 @@ UserDrawSysMenuButton(HWND hWnd, HDC hDC, LPRECT Rect, BOOL down) return FALSE; } - BitBlt(hDC, Rect->left + 2, Rect->top + 2, 16, 16, hDcMem, + BitBlt(hDC, Rect->left + 2, Rect->top + 3, 16, 14, hDcMem, (GetWindowLongW(hWnd, GWL_STYLE) & WS_CHILD) ? GetSystemMetrics(SM_CXSIZE): 0, 0, SRCCOPY);