[UXTHEME] EnableThemeDialogTexture: Update window theme only when ETDT_USETABTEXTURE is used

This commit is contained in:
Giannis Adamopoulos 2017-12-24 23:52:10 +02:00
parent b9b461bde9
commit c5e707ec1f

View file

@ -47,8 +47,8 @@ HRESULT WINAPI EnableThemeDialogTexture(HWND hwnd, DWORD dwFlags)
if (dwFlags & ETDT_USETABTEXTURE)
return SetWindowTheme (hwnd, NULL, szTab);
else
return SetWindowTheme (hwnd, NULL, NULL);
}
return S_OK;
}
/***********************************************************************
* IsThemeDialogTextureEnabled (UXTHEME.@)