Fix button text placement for disabled buttons (see Winzip 8.0).

oldstable
Mike McCormack 2001-07-02 17:58:31 +00:00 committed by Alexandre Julliard
parent 96c0ed6634
commit aa62953b31
1 changed files with 3 additions and 0 deletions

View File

@ -226,6 +226,9 @@ TOOLBAR_DrawString (TOOLBAR_INFO *infoPtr, TBUTTON_INFO *btnPtr,
rcText.top += infoPtr->nBitmapHeight;
}
}
else {
rcText.top += infoPtr->nBitmapHeight;
}
if (nState & (TBSTATE_PRESSED | TBSTATE_CHECKED))
OffsetRect (&rcText, 1, 1);