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
|
MODULE = comctl32.dll
|
||||||
IMPORTLIB = libcomctl32.$(IMPLIBEXT)
|
IMPORTLIB = libcomctl32.$(IMPLIBEXT)
|
||||||
IMPORTS = user32 gdi32 advapi32 kernel32
|
IMPORTS = user32 gdi32 advapi32 kernel32
|
||||||
DELAYIMPORTS = winmm
|
DELAYIMPORTS = winmm uxtheme
|
||||||
EXTRALIBS = $(LIBUNICODE)
|
EXTRALIBS = $(LIBUNICODE)
|
||||||
|
|
||||||
C_SRCS = \
|
C_SRCS = \
|
||||||
|
|
|
@ -66,6 +66,7 @@
|
||||||
#include "commctrl.h"
|
#include "commctrl.h"
|
||||||
#include "prsht.h"
|
#include "prsht.h"
|
||||||
#include "comctl32.h"
|
#include "comctl32.h"
|
||||||
|
#include "uxtheme.h"
|
||||||
|
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
#include "wine/unicode.h"
|
#include "wine/unicode.h"
|
||||||
|
@ -1541,6 +1542,8 @@ static BOOL PROPSHEET_CreatePage(HWND hwndParent,
|
||||||
SetWindowSubclass(hwndPage, PROPSHEET_WizardSubclassProc, 1,
|
SetWindowSubclass(hwndPage, PROPSHEET_WizardSubclassProc, 1,
|
||||||
(DWORD_PTR)ppshpage);
|
(DWORD_PTR)ppshpage);
|
||||||
}
|
}
|
||||||
|
if (!(psInfo->ppshheader.dwFlags & INTRNL_ANY_WIZARD))
|
||||||
|
EnableThemeDialogTexture (hwndPage, ETDT_ENABLETAB);
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue