From 23676a74fcf80d2ff35706361c3ddd6711c917f9 Mon Sep 17 00:00:00 2001 From: Jan Holesovsky Date: Thu, 10 May 2012 13:08:51 +0200 Subject: 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 --- vcl/inc/win/salgdi.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'vcl/inc/win') 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 -- cgit v1.2.3