From: Zhiyi Zhang zzhang@codeweavers.com
--- dlls/comctl32/propsheet.c | 3 +++ dlls/comctl32/tests/propsheet.c | 1 - 2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/dlls/comctl32/propsheet.c b/dlls/comctl32/propsheet.c index da15385f496..de369f60580 100644 --- a/dlls/comctl32/propsheet.c +++ b/dlls/comctl32/propsheet.c @@ -1630,8 +1630,11 @@ static BOOL PROPSHEET_CreatePage(HWND hwndParent, { SetWindowSubclass(hwndPage, PROPSHEET_WizardSubclassProc, 1, 0); } + +#if __WINE_COMCTL32_VERSION == 6 if (!(psInfo->ppshheader.dwFlags & INTRNL_ANY_WIZARD)) EnableThemeDialogTexture (hwndPage, ETDT_ENABLETAB); +#endif
return TRUE; } diff --git a/dlls/comctl32/tests/propsheet.c b/dlls/comctl32/tests/propsheet.c index ba9e9be030c..812f6530478 100644 --- a/dlls/comctl32/tests/propsheet.c +++ b/dlls/comctl32/tests/propsheet.c @@ -1292,7 +1292,6 @@ static void test_page_dialog_texture(void)
/* Test that theme dialog texture is enabled for comctl32 v6, even when theming is off */ ret = pIsThemeDialogTextureEnabled(sheethwnd); - todo_wine_if(!is_v6) ok(ret == is_v6, "Wrong theme dialog texture status.\n");
hwnd = CreateWindowA(WC_EDITA, "child", WS_POPUP | WS_VISIBLE, 1, 2, 50, 50, 0, 0, 0, NULL);