diff options
-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 ); |