Commit aa62953b authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

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

parent 96c0ed66
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment