mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +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)
|
||||
return SetWindowTheme (hwnd, NULL, szTab);
|
||||
else
|
||||
return SetWindowTheme (hwnd, NULL, NULL);
|
||||
}
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* IsThemeDialogTextureEnabled (UXTHEME.@)
|
||||
|
|
Loading…
Reference in a new issue