path: root/vcl/inc/win
diff options
authorJan Holesovsky <>2012-05-10 13:08:51 +0200
committerJan Holesovsky <>2012-05-15 08:39:31 +0200
commit23676a74fcf80d2ff35706361c3ddd6711c917f9 (patch)
tree9f39066ed757e11307539c1cbee2094ed2c5eb7e /vcl/inc/win
parent1917de4bb409b9b9d3a5c25c5154298b3e29f0a6 (diff)
Instead of DwmIsCompositionEnabled, use IsThemeActive from uxtheme.dll.
No idea why the DwmIsCompositionEnabled is recommended ~everywhere where you search for how to check if the themes are enabled; it is wrong as eg. over rdesktop, you are still using themes, but for sure not the composition in dwm. Change-Id: I Ib34f2a17809d03f29ccdf7d4a8b94ee7ad996bf5
Diffstat (limited to 'vcl/inc/win')
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/inc/win/salgdi.h b/vcl/inc/win/salgdi.h
index 698bf579176d..50d101585a3a 100644
--- a/vcl/inc/win/salgdi.h
+++ b/vcl/inc/win/salgdi.h
@@ -371,6 +371,9 @@ public:
virtual SystemGraphicsData GetGraphicsData() const;
virtual SystemFontData GetSysFontData( int nFallbacklevel ) const;
+ /// Update settings based on the platform values
+ static void updateSettingsNative( AllSettings& rSettings );
// Init/Deinit Graphics