Commit 9cbe067a authored by Alexandre Julliard's avatar Alexandre Julliard

Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>

Draw a 3D border around edit controls when not in WIN31_LOOK.
parent f9c20b65
......@@ -3651,7 +3651,10 @@ static void EDIT_WM_Paint(WND *wnd, EDITSTATE *es)
if(es->style & WS_HSCROLL) rc.bottom++;
if(es->style & WS_VSCROLL) rc.right++;
}
Rectangle(dc, rc.left, rc.top, rc.right, rc.bottom);
if (TWEAK_WineLook != WIN31_LOOK)
DrawEdge(dc, &rc, EDGE_SUNKEN, BF_RECT);
else
Rectangle(dc, rc.left, rc.top, rc.right, rc.bottom);
}
IntersectClipRect(dc, es->format_rect.left,
es->format_rect.top,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment