revert the last change - it's not correct since the GDI handles were not allocated before.

svn path=/trunk/; revision=21003
This commit is contained in:
Martin Fuchs 2006-01-23 18:46:45 +00:00
parent 96249aac20
commit d615a12c31
2 changed files with 0 additions and 2 deletions

View 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;}

View file

@ -397,7 +397,6 @@ LRESULT ChildWindow::WndProc(UINT nmsg, WPARAM wparam, LPARAM lparam)
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: