[Libreoffice-commits] .: vcl/win
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Thu Nov 8 01:52:40 PST 2012
vcl/win/source/gdi/salnativewidgets-luna.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit c02d3ac6a49533108d7649cd9edc37f4bafb90f5
Author: Jan Holesovsky <kendy at suse.cz>
Date: Thu Nov 8 10:50:51 2012 +0100
Windows: Enable nicer toolbars even for XP, not only Vista and higher.
Change-Id: I26837290d1416637032d2dfcfa45b4003c874309
diff --git a/vcl/win/source/gdi/salnativewidgets-luna.cxx b/vcl/win/source/gdi/salnativewidgets-luna.cxx
index 5ba45ab..abb6f48 100644
--- a/vcl/win/source/gdi/salnativewidgets-luna.cxx
+++ b/vcl/win/source/gdi/salnativewidgets-luna.cxx
@@ -1466,6 +1466,9 @@ void WinSalGraphics::updateSettingsNative( AllSettings& rSettings )
StyleSettings aStyleSettings = rSettings.GetStyleSettings();
ImplSVData* pSVData = ImplGetSVData();
+ // don't draw frame around each and every toolbar
+ pSVData->maNWFData.mbDockingAreaAvoidTBFrames = true;
+
// check if vista or newer runs
// in Aero theme (and similar ?) the menu text color does not change
// for selected items; also on WinXP and earlier menus are not themed
@@ -1478,9 +1481,6 @@ void WinSalGraphics::updateSettingsNative( AllSettings& rSettings )
pSVData->maNWFData.mnMenuFormatBorderY = 2;
pSVData->maNWFData.maMenuBarHighlightTextColor = aStyleSettings.GetMenuTextColor();
GetSalData()->mbThemeMenuSupport = TRUE;
-
- // don't draw frame around each and every toolbar
- pSVData->maNWFData.mbDockingAreaAvoidTBFrames = true;
}
rSettings.SetStyleSettings( aStyleSettings );
More information about the Libreoffice-commits
mailing list