mirror of
https://github.com/reactos/reactos.git
synced 2024-12-31 19:42:51 +00:00
[UXTHEME] EnableThemeDialogTexture: Update window theme only when ETDT_USETABTEXTURE is used
This commit is contained in:
parent
b9b461bde9
commit
c5e707ec1f
1 changed files with 2 additions and 2 deletions
|
@ -47,8 +47,8 @@ HRESULT WINAPI EnableThemeDialogTexture(HWND hwnd, DWORD dwFlags)
|
||||||
if (dwFlags & ETDT_USETABTEXTURE)
|
if (dwFlags & ETDT_USETABTEXTURE)
|
||||||
return SetWindowTheme (hwnd, NULL, szTab);
|
return SetWindowTheme (hwnd, NULL, szTab);
|
||||||
else
|
else
|
||||||
return SetWindowTheme (hwnd, NULL, NULL);
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* IsThemeDialogTextureEnabled (UXTHEME.@)
|
* IsThemeDialogTextureEnabled (UXTHEME.@)
|
||||||
|
|
Loading…
Reference in a new issue