summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Hulme <jsnhulme@gmail.com>2013-06-14 23:23:37 -0700
committerKhaled Hosny <khaledhosny@eglug.org>2013-06-28 11:28:07 +0200
commitafa685c2a3bca8fb73a1c2cde536a2da4cd43b13 (patch)
treed8b57c94a07d8f24b14fc2ebc6c35b1c1b31ca0e
parent2d7dff2d677475c7e29e5340d0ebef8545aefd97 (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.cxx2
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;