From 46c8b608b67572b3a5402543b540495547ef6ca1 Mon Sep 17 00:00:00 2001 From: Maarten Bent Date: Mon, 28 Jun 2021 23:22:58 +0200 Subject: [PATCH] Fix using LISTVIEW theme --- src/msw/renderer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/msw/renderer.cpp b/src/msw/renderer.cpp index 99eb4a26cc..6cfdb37fab 100644 --- a/src/msw/renderer.cpp +++ b/src/msw/renderer.cpp @@ -1011,7 +1011,7 @@ wxRendererXP::DrawItemSelectionRect(wxWindow *win, const wxRect& rect, int flags) { - wxUxThemeHandle hTheme(win, L"LISTVIEW"); + wxUxThemeHandle hTheme(win, L"EXPLORER::LISTVIEW"); const int itemState = GetListItemState(flags); @@ -1038,7 +1038,7 @@ void wxRendererXP::DrawItemText(wxWindow* win, int flags, wxEllipsizeMode ellipsizeMode) { - wxUxThemeHandle hTheme(win, L"LISTVIEW"); + wxUxThemeHandle hTheme(win, L"EXPLORER::LISTVIEW"); const int itemState = GetListItemState(flags);