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

Draw a 3D border around edit controls when not in WIN31_LOOK.
This commit is contained in:
Alexandre Julliard 1999-06-26 11:38:13 +00:00
parent f9c20b6592
commit 9cbe067afa
1 changed files with 4 additions and 1 deletions

View File

@ -3651,7 +3651,10 @@ static void EDIT_WM_Paint(WND *wnd, EDITSTATE *es)
if(es->style & WS_HSCROLL) rc.bottom++; if(es->style & WS_HSCROLL) rc.bottom++;
if(es->style & WS_VSCROLL) rc.right++; 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, IntersectClipRect(dc, es->format_rect.left,
es->format_rect.top, es->format_rect.top,