The rectangle passed in DRAWITEMSTRUCT is slightly too large as
compared with Windows.
This commit is contained in:
parent
c612a89be8
commit
0d173d01a8
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue