Enabled "tab" dialog texture for property sheet pages.
This commit is contained in:
parent
7bc3a38ba7
commit
5c3f6bcd44
|
@ -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 = \
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue