[PATCH] comctl32/tests: Fix a test failure when theming is active.

Zhiyi Zhang zzhang at codeweavers.com
Tue Mar 1 01:00:39 CST 2022


Signed-off-by: Zhiyi Zhang <zzhang at codeweavers.com>
---
 dlls/comctl32/tests/button.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/comctl32/tests/button.c b/dlls/comctl32/tests/button.c
index 0443a36718b..cfcdb44019c 100644
--- a/dlls/comctl32/tests/button.c
+++ b/dlls/comctl32/tests/button.c
@@ -2359,7 +2359,7 @@ static void test_visual(void)
         SelectObject(mem_dc2, mem_bitmap2);
         BitBlt(mem_dc2, 0, 0, width, height, button_dc, 0, 0, SRCCOPY);
 
-        todo_wine_if(type == BS_PUSHBOX || (is_theme_active && type == BS_GROUPBOX))
+        todo_wine_if(type == BS_PUSHBOX)
         ok(equal_dc(mem_dc1, mem_dc2, width, height), "Type %#lx: Expected content unchanged.\n", type);
 
         DeleteObject(mem_bitmap2);
-- 
2.32.0



More information about the wine-devel mailing list