The rectangle passed in DRAWITEMSTRUCT is slightly too large as

compared with Windows.
This commit is contained in:
Ulrich Czekalla 2004-08-19 19:06:18 +00:00 committed by Alexandre Julliard
parent c612a89be8
commit 0d173d01a8
1 changed files with 8 additions and 0 deletions

View File

@ -1637,6 +1637,14 @@ TAB_DrawItemInterior
DRAWITEMSTRUCT dis;
UINT id;
drawRect->top += 2;
drawRect->right -= 1;
if ( iItem == infoPtr->iSelected )
{
drawRect->right -= 1;
drawRect->left += 1;
}
/*
* get the control id
*/