mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 03:08:19 +00:00
The fast window frame size should be the same as the frame size used
by NC_DrawFrame function.
This commit is contained in:
parent
fc348622ed
commit
b309b37385
|
@ -143,9 +143,9 @@ BOOL16 WINAPI FastWindowFrame16( HDC16 hdc, const RECT16 *rect,
|
|||
rect->right - rect->left - width, height, rop );
|
||||
PatBlt( hdc, rect->left, rect->top + height, width,
|
||||
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 );
|
||||
PatBlt( hdc, rect->right, rect->top, -width,
|
||||
PatBlt( hdc, rect->right - 1, rect->top, -width,
|
||||
rect->bottom - rect->top - height, rop );
|
||||
SelectObject( hdc, hbrush );
|
||||
return TRUE;
|
||||
|
|
Loading…
Reference in a new issue