UXTHEME: Fix arguments of IsThemeDialogTextureEnabled
Thomas Weidenmueller
wine-patches at reactsoft.com
Sun Jul 3 05:15:00 CDT 2005
IsThemeDialogTextureEnabled should have one parameter to match the
prototype in the official headers.
Best Regards,
Thomas
-------------- next part --------------
Index: dlls/uxtheme/draw.c
===================================================================
RCS file: /home/wine/wine/dlls/uxtheme/draw.c,v
retrieving revision 1.11
diff -u -r1.11 draw.c
--- dlls/uxtheme/draw.c 1 Jul 2005 15:40:24 -0000 1.11
+++ dlls/uxtheme/draw.c 3 Jul 2005 10:10:20 -0000
@@ -58,9 +58,9 @@
/***********************************************************************
* IsThemeDialogTextureEnabled (UXTHEME.@)
*/
-BOOL WINAPI IsThemeDialogTextureEnabled(void)
+BOOL WINAPI IsThemeDialogTextureEnabled(HWND hwnd)
{
- TRACE("\n");
+ TRACE("(%p)\n", hwnd);
return (dwDialogTextureFlags & ETDT_ENABLE) && !(dwDialogTextureFlags & ETDT_DISABLE);
}
Index: dlls/uxtheme/uxtheme.spec
===================================================================
RCS file: /home/wine/wine/dlls/uxtheme/uxtheme.spec,v
retrieving revision 1.6
diff -u -r1.6 uxtheme.spec
--- dlls/uxtheme/uxtheme.spec 17 May 2004 21:08:31 -0000 1.6
+++ dlls/uxtheme/uxtheme.spec 3 Jul 2005 10:09:46 -0000
@@ -86,7 +86,7 @@
@ stdcall IsAppThemed()
@ stdcall IsThemeActive()
@ stdcall IsThemeBackgroundPartiallyTransparent(ptr long long)
-@ stdcall IsThemeDialogTextureEnabled()
+@ stdcall IsThemeDialogTextureEnabled(ptr)
@ stdcall IsThemePartDefined(ptr long long)
@ stdcall OpenThemeData(ptr wstr)
@ stdcall SetThemeAppProperties(long)
Index: include/uxtheme.h
===================================================================
RCS file: /home/wine/wine/include/uxtheme.h,v
retrieving revision 1.4
diff -u -r1.4 uxtheme.h
--- include/uxtheme.h 13 Dec 2004 21:19:01 -0000 1.4
+++ include/uxtheme.h 3 Jul 2005 10:14:03 -0000
@@ -165,7 +165,7 @@
BOOL WINAPI IsAppThemed(void);
BOOL WINAPI IsThemeActive(void);
BOOL WINAPI IsThemeBackgroundPartiallyTransparent(HTHEME,int,int);
-BOOL WINAPI IsThemeDialogTextureEnabled(void);
+BOOL WINAPI IsThemeDialogTextureEnabled(HWND);
BOOL WINAPI IsThemePartDefined(HTHEME,int,int);
HTHEME WINAPI OpenThemeData(HWND,LPCWSTR);
void WINAPI SetThemeAppProperties(DWORD);
More information about the wine-patches
mailing list