From 61e43dca25a80a451cf2b7dbbc4931a8f2a96d80 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 20 Sep 2013 12:59:56 +0000 Subject: using Uxtheme git-svn-id: http://svn.miranda-ng.org/main/trunk@6137 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Popup/src/opt_skins.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'plugins/Popup/src/opt_skins.cpp') diff --git a/plugins/Popup/src/opt_skins.cpp b/plugins/Popup/src/opt_skins.cpp index 5b3c656684..b9ad9c726d 100644 --- a/plugins/Popup/src/opt_skins.cpp +++ b/plugins/Popup/src/opt_skins.cpp @@ -34,7 +34,7 @@ void RegisterOptPrevBox() WNDCLASSEX wcl; wcl.cbSize = sizeof(wcl); wcl.lpfnWndProc = (WNDPROC)BoxPreviewWndProc; - wcl.style = IsWinVerXPPlus() ? CS_DROPSHADOW : 0; + wcl.style = CS_DROPSHADOW; wcl.cbClsExtra = 0; wcl.cbWndExtra = 0; wcl.hInstance = hInst; @@ -57,7 +57,7 @@ void RegisterOptPrevBox() GetClassInfoEx(hInst, _T("#32770"), &wcl); wcl.hInstance = hInst; wcl.lpszClassName = _T("PopupPlusDlgBox"); - wcl.style |= IsWinVerXPPlus() ? CS_DROPSHADOW : 0; + wcl.style |= CS_DROPSHADOW; g_wndClass.cPopupPlusDlgBox = RegisterClassEx(&wcl); err = GetLastError(); if (!g_wndClass.cPopupPlusDlgBox) { @@ -219,12 +219,10 @@ int SkinOptionList_AddMain(OPTTREE_OPTION* &options, int *OptionsCount, int pos, bCheck = PopupOptions.DisplayTime; break; case 1: - if (!IsWinVerXPPlus()) continue; *dwGlobalOptions |= PopupOptions.DropShadow ? (1 << i) : 0; bCheck = PopupOptions.DropShadow; break; case 2: - if (!IsWinVerXPPlus()) continue; *dwGlobalOptions |= PopupOptions.EnableFreeformShadows ? (1 << i) : 0; bCheck = PopupOptions.EnableFreeformShadows; break; -- cgit v1.2.3