mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 19:26:42 +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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user