Zhiyi Zhang (@zhiyi) commented about dlls/uxtheme/tests/system.c:
hwnd = CreateWindowA(WC_STATICA, "", WS_POPUP, 0, 0, 1, 1, 0, 0, 0, NULL); ok(!!hwnd, "CreateWindowA failed, error %#lx.\n", GetLastError());
- for (i = 0; i < ARRAY_SIZE(app_class); i++)
- {
htheme = OpenThemeData(hwnd, app_class[i]);
todo_wine_if(i == 3 || i == 6 || i == 12 || i == 15 || i == 16 || i == 21)
ok(htheme != NULL, "OpenThemeData(%s) error %#lx.\n", wine_dbgstr_w(app_class[i]), GetLastError());
CloseThemeData(htheme);
- }
- hr = SetWindowTheme(hwnd, L"explorer", NULL);
- ok(hr == S_OK, "Got unexpected hr %#lx.\n", hr);
- SetLastError(0xdeadbeef);
- htheme = OpenThemeData(hwnd, L"explorer::listview");
Let's use explorer::treeview here instead because Wine's light theme currently doesn't have explorer::listview.