Fix using LISTVIEW theme
This commit is contained in:
@@ -1011,7 +1011,7 @@ wxRendererXP::DrawItemSelectionRect(wxWindow *win,
|
|||||||
const wxRect& rect,
|
const wxRect& rect,
|
||||||
int flags)
|
int flags)
|
||||||
{
|
{
|
||||||
wxUxThemeHandle hTheme(win, L"LISTVIEW");
|
wxUxThemeHandle hTheme(win, L"EXPLORER::LISTVIEW");
|
||||||
|
|
||||||
const int itemState = GetListItemState(flags);
|
const int itemState = GetListItemState(flags);
|
||||||
|
|
||||||
@@ -1038,7 +1038,7 @@ void wxRendererXP::DrawItemText(wxWindow* win,
|
|||||||
int flags,
|
int flags,
|
||||||
wxEllipsizeMode ellipsizeMode)
|
wxEllipsizeMode ellipsizeMode)
|
||||||
{
|
{
|
||||||
wxUxThemeHandle hTheme(win, L"LISTVIEW");
|
wxUxThemeHandle hTheme(win, L"EXPLORER::LISTVIEW");
|
||||||
|
|
||||||
const int itemState = GetListItemState(flags);
|
const int itemState = GetListItemState(flags);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user