mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
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:
parent
96249aac20
commit
d615a12c31
2 changed files with 0 additions and 2 deletions
|
@ -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;}
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue