Calc:  Now using the proper system brush to paint the number pane
Modified: trunk/reactos/subsys/system/calc/winecalc.c

Modified: trunk/reactos/subsys/system/calc/winecalc.c
--- trunk/reactos/subsys/system/calc/winecalc.c	2005-10-06 23:04:00 UTC (rev 18305)
+++ trunk/reactos/subsys/system/calc/winecalc.c	2005-10-07 00:32:00 UTC (rev 18306)
@@ -2741,6 +2741,8 @@
     HFONT hFontOrg;
     HPEN hPen;
     HPEN hPenOrg;
+    HBRUSH hBrush;
+    HBRUSH hBrushOrg;
 
     TCHAR s2[CALC_BUF_SIZE];
 
@@ -2801,6 +2803,8 @@
 
     hPen = CreatePen(PS_SOLID, 1, RGB(255,255,255));
     hPenOrg = SelectObject(hdc, hPen);
+    hBrush = GetSysColorBrush(COLOR_WINDOW);
+    hBrushOrg = SelectObject(hdc, hBrush);
 
     MoveToEx(hdc,
         WDISPLAY_LEFT - 1,
@@ -2814,6 +2818,7 @@
     Rectangle(hdc, WDISPLAY_LEFT, WDISPLAY_TOP, WDISPLAY_RIGHT, WDISPLAY_BOTTOM);
 
     SelectObject(hdc, hPenOrg);
+    SelectObject(hdc, hBrushOrg);
     DeleteObject(hPen);
 
     SetBkMode(hdc, TRANSPARENT);