revert the last change - it's not correct since the GDI handles were not allocated before.
Modified: trunk/reactos/subsys/system/explorer/shell/mainframe.cpp
Modified: trunk/reactos/subsys/system/explorer/utility/window.cpp

Modified: trunk/reactos/subsys/system/explorer/shell/mainframe.cpp
--- trunk/reactos/subsys/system/explorer/shell/mainframe.cpp	2006-01-23 18:15:00 UTC (rev 21002)
+++ trunk/reactos/subsys/system/explorer/shell/mainframe.cpp	2006-01-23 18:46:45 UTC (rev 21003)
@@ -1433,7 +1433,6 @@
 			HBRUSH lastBrush = SelectBrush(canvas, GetStockBrush(COLOR_SPLITBAR));
 			Rectangle(canvas, rt.left, rt.top-1, rt.right, rt.bottom+1);
 			SelectObject(canvas, lastBrush);
-            DeleteObject(lastBrush);
 		}
 		break;}
 

Modified: trunk/reactos/subsys/system/explorer/utility/window.cpp
--- trunk/reactos/subsys/system/explorer/utility/window.cpp	2006-01-23 18:15:00 UTC (rev 21002)
+++ trunk/reactos/subsys/system/explorer/utility/window.cpp	2006-01-23 18:46:45 UTC (rev 21003)
@@ -397,7 +397,6 @@
         SetRect(&rc, rt.left, rt.top-1, rt.right, rt.bottom+1);
         DrawEdge(canvas, &rc, EDGE_RAISED, BF_RECT);
 		SelectObject(canvas, lastBrush);
-        DeleteObject(lastBrush);
 		break;}
 
 	  case WM_SETCURSOR: