From fcae9bf3b14ef294c54751705d2532c6447b095a Mon Sep 17 00:00:00 2001
From: Jason Hulme <jsnhulme@gmail.com>
Date: Fri, 14 Jun 2013 23:23:37 -0700
Subject: 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>
---
 vcl/aqua/source/gdi/salnativewidgets.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
-- 
cgit