Fix using LISTVIEW theme

This commit is contained in:
Maarten Bent 2021-06-28 23:22:58 +02:00
parent d1ab1b218e
commit 46c8b608b6

View File

@ -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);