revert the last change - it's not correct since the GDI handles were not allocated...
[reactos.git] / reactos / subsys / system / explorer / shell / mainframe.cpp
index e8d296b..e2de037 100644 (file)
@@ -1433,7 +1433,6 @@ LRESULT SDIMainFrame::WndProc(UINT nmsg, WPARAM wparam, LPARAM lparam)
                        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;}