mirror of
https://github.com/reactos/reactos.git
synced 2026-06-08 08:52:59 +08:00
[UXTHEME] EnableThemeDialogTexture: Update window theme only when ETDT_USETABTEXTURE is used
This commit is contained in:
@@ -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.@)
|
||||
|
||||
Reference in New Issue
Block a user