- Remove old code.
authorJames Tabor <james.tabor@reactos.org>
Thu, 26 Sep 2013 20:06:18 +0000 (20:06 +0000)
committerJames Tabor <james.tabor@reactos.org>
Thu, 26 Sep 2013 20:06:18 +0000 (20:06 +0000)
svn path=/trunk/; revision=60387

reactos/win32ss/user/user32/windows/draw.c

index 609b131..f082527 100644 (file)
@@ -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
     {