fdo#43714: for a checkmark use the same rect as for its background

Change-Id: Ib8833477eb20b658dde1ea2a78cb0bee0c24241a
This commit is contained in:
Ivan Timofeev
2012-10-15 21:22:49 +04:00
parent 4f1ba04862
commit 5b47653cc8

View File

@@ -1087,6 +1087,7 @@ sal_Bool ImplDrawNativeControl( HDC hDC, HTHEME hTheme, RECT rc,
aBGRect.right = rMVal.getNumericVal();
aBGRect.left = rMVal.maItemRect.Left();
}
rc = aBGRect;
}
iState = (nState & CTRL_STATE_ENABLED) ? MCB_NORMAL : MCB_DISABLED;
ImplDrawTheme( hTheme, hDC, MENU_POPUPCHECKBACKGROUND, iState, aBGRect, aCaption );