From 5c3f6bcd444b527c6daf6495050e45bda195c63e Mon Sep 17 00:00:00 2001 From: Frank Richter Date: Mon, 18 Jul 2005 10:31:06 +0000 Subject: [PATCH] Enabled "tab" dialog texture for property sheet pages. --- dlls/comctl32/Makefile.in | 2 +- dlls/comctl32/propsheet.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/dlls/comctl32/Makefile.in b/dlls/comctl32/Makefile.in index d06412c11ee..f6790730053 100644 --- a/dlls/comctl32/Makefile.in +++ b/dlls/comctl32/Makefile.in @@ -6,7 +6,7 @@ VPATH = @srcdir@ MODULE = comctl32.dll IMPORTLIB = libcomctl32.$(IMPLIBEXT) IMPORTS = user32 gdi32 advapi32 kernel32 -DELAYIMPORTS = winmm +DELAYIMPORTS = winmm uxtheme EXTRALIBS = $(LIBUNICODE) C_SRCS = \ diff --git a/dlls/comctl32/propsheet.c b/dlls/comctl32/propsheet.c index 62a9dcc9538..bcf8b428cc9 100644 --- a/dlls/comctl32/propsheet.c +++ b/dlls/comctl32/propsheet.c @@ -66,6 +66,7 @@ #include "commctrl.h" #include "prsht.h" #include "comctl32.h" +#include "uxtheme.h" #include "wine/debug.h" #include "wine/unicode.h" @@ -1541,6 +1542,8 @@ static BOOL PROPSHEET_CreatePage(HWND hwndParent, SetWindowSubclass(hwndPage, PROPSHEET_WizardSubclassProc, 1, (DWORD_PTR)ppshpage); } + if (!(psInfo->ppshheader.dwFlags & INTRNL_ANY_WIZARD)) + EnableThemeDialogTexture (hwndPage, ETDT_ENABLETAB); return TRUE; }