mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
forgot to commit the DrawEdge stuff
svn path=/trunk/; revision=21000
This commit is contained in:
parent
156e036330
commit
732b734362
1 changed files with 4 additions and 1 deletions
|
@ -387,12 +387,15 @@ LRESULT ChildWindow::WndProc(UINT nmsg, WPARAM wparam, LPARAM lparam)
|
|||
{
|
||||
switch(nmsg) {
|
||||
case WM_PAINT: {
|
||||
RECT rc;
|
||||
PaintCanvas canvas(_hwnd);
|
||||
ClientRect rt(_hwnd);
|
||||
rt.left = _split_pos-SPLIT_WIDTH/2;
|
||||
rt.right = _split_pos+SPLIT_WIDTH/2+1;
|
||||
HBRUSH lastBrush = SelectBrush(canvas, GetStockBrush(COLOR_SPLITBAR));
|
||||
HBRUSH lastBrush = SelectBrush(canvas, GetStockBrush(LTGRAY_BRUSH));
|
||||
Rectangle(canvas, rt.left, rt.top-1, rt.right, rt.bottom+1);
|
||||
SetRect(&rc, rt.left, rt.top-1, rt.right, rt.bottom+1);
|
||||
DrawEdge(canvas, &rc, EDGE_RAISED, BF_RECT);
|
||||
SelectObject(canvas, lastBrush);
|
||||
break;}
|
||||
|
||||
|
|
Loading…
Reference in a new issue