diff options
author | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-10-15 21:22:49 +0400 |
---|---|---|
committer | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-10-15 21:24:33 +0400 |
commit | 5b47653cc871da19a68f9bdedf0c99cff65e739e (patch) | |
tree | 34d07a6ecb4225327a584e62652ff6bde3684e43 /vcl | |
parent | 4f1ba0486241bd239e46b71405662db8e10d9b96 (diff) |
fdo#43714: for a checkmark use the same rect as for its background
Change-Id: Ib8833477eb20b658dde1ea2a78cb0bee0c24241a
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/win/source/gdi/salnativewidgets-luna.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/win/source/gdi/salnativewidgets-luna.cxx b/vcl/win/source/gdi/salnativewidgets-luna.cxx index 8c343fef458b..0cd8d41bf7f0 100644 --- a/vcl/win/source/gdi/salnativewidgets-luna.cxx +++ b/vcl/win/source/gdi/salnativewidgets-luna.cxx @@ -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 ); |