diff options
author | Jason Hulme <jsnhulme@gmail.com> | 2013-06-14 23:23:37 -0700 |
---|---|---|
committer | Thorsten Behrens <tbehrens@suse.com> | 2013-06-26 09:51:26 +0000 |
commit | fcae9bf3b14ef294c54751705d2532c6447b095a (patch) | |
tree | 04db302f5460ae877b729532d965a1c285d000a6 | |
parent | 2250429dda5539466e2c3d1e33e555c4d66131e6 (diff) |
fdo#31525 Dialogues now have an appropriate background in OSX
The proper background is now set using HIThemeBackground.
Change-Id: I71e4287273f7345a18eee4c4fc494eea10f2deb2
Reviewed-on: https://gerrit.libreoffice.org/4287
Reviewed-by: Thorsten Behrens <tbehrens@suse.com>
Tested-by: Thorsten Behrens <tbehrens@suse.com>
-rw-r--r-- | vcl/aqua/source/gdi/salnativewidgets.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/aqua/source/gdi/salnativewidgets.cxx b/vcl/aqua/source/gdi/salnativewidgets.cxx index 3365c0457b13..3de411824d6b 100644 --- a/vcl/aqua/source/gdi/salnativewidgets.cxx +++ b/vcl/aqua/source/gdi/salnativewidgets.cxx @@ -522,7 +522,7 @@ sal_Bool AquaSalGraphics::drawNativeControl(ControlType nType, HIThemeBackgroundDrawInfo aThemeBackgroundInfo; aThemeBackgroundInfo.version = 0; aThemeBackgroundInfo.state = getState( nState ); - aThemeBackgroundInfo.kind = kThemeBrushDialogBackgroundInactive; + aThemeBackgroundInfo.kind = kThemeBrushDialogBackgroundActive; // FIXME: without this magical offset there is a 2 pixel black border on the right and bottom rc.size.width += 2; rc.size.height += 2; |