From 9a657afb5d750c4d8d34e3313e1348cc08441fc7 Mon Sep 17 00:00:00 2001 From: James Tabor Date: Thu, 26 Sep 2013 20:06:18 +0000 Subject: [PATCH] - Remove old code. svn path=/trunk/; revision=60387 --- reactos/win32ss/user/user32/windows/draw.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/reactos/win32ss/user/user32/windows/draw.c b/reactos/win32ss/user/user32/windows/draw.c index 609b13136ff..f0825277785 100644 --- a/reactos/win32ss/user/user32/windows/draw.c +++ b/reactos/win32ss/user/user32/windows/draw.c @@ -37,9 +37,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(user32); /* GLOBALS *******************************************************************/ -static const WORD wPattern_AA55[8] = { 0xaaaa, 0x5555, 0xaaaa, 0x5555, - 0xaaaa, 0x5555, 0xaaaa, 0x5555 }; - /* These tables are used in: * UITOOLS_DrawDiagEdge() * UITOOLS_DrawRectEdge() @@ -623,9 +620,7 @@ static void UITOOLS_DrawCheckedRect( HDC dc, LPRECT rect ) { if(GetSysColor(COLOR_BTNHIGHLIGHT) == RGB(255, 255, 255)) { -// HBITMAP hbm = CreateBitmap(8, 8, 1, 1, wPattern_AA55); gpsi->hbrGray HBRUSH hbsave; -// HBRUSH hb = CreatePatternBrush(hbm); COLORREF bg; FillRect(dc, rect, GetSysColorBrush(COLOR_BTNFACE)); @@ -634,8 +629,6 @@ static void UITOOLS_DrawCheckedRect( HDC dc, LPRECT rect ) PatBlt(dc, rect->left, rect->top, rect->right-rect->left, rect->bottom-rect->top, 0x00FA0089); SelectObject(dc, hbsave); SetBkColor(dc, bg); -// DeleteObject(hb); -// DeleteObject(hbm); } else {