Enabled "tab" dialog texture for property sheet pages.

This commit is contained in:
Frank Richter 2005-07-18 10:31:06 +00:00 committed by Alexandre Julliard
parent 7bc3a38ba7
commit 5c3f6bcd44
2 changed files with 4 additions and 1 deletions

View File

@ -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 = \

View File

@ -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;
}