The fast window frame size should be the same as the frame size used

by NC_DrawFrame function.
This commit is contained in:
Noomen Hamza 1999-09-04 14:25:55 +00:00 committed by Alexandre Julliard
parent fc348622ed
commit b309b37385
1 changed files with 2 additions and 2 deletions

View File

@ -143,9 +143,9 @@ BOOL16 WINAPI FastWindowFrame16( HDC16 hdc, const RECT16 *rect,
rect->right - rect->left - width, height, rop ); rect->right - rect->left - width, height, rop );
PatBlt( hdc, rect->left, rect->top + height, width, PatBlt( hdc, rect->left, rect->top + height, width,
rect->bottom - rect->top - height, rop ); rect->bottom - rect->top - height, rop );
PatBlt( hdc, rect->left + width, rect->bottom, PatBlt( hdc, rect->left + width, rect->bottom - 1,
rect->right - rect->left - width, -height, rop ); rect->right - rect->left - width, -height, rop );
PatBlt( hdc, rect->right, rect->top, -width, PatBlt( hdc, rect->right - 1, rect->top, -width,
rect->bottom - rect->top - height, rop ); rect->bottom - rect->top - height, rop );
SelectObject( hdc, hbrush ); SelectObject( hdc, hbrush );
return TRUE; return TRUE;