VirtuallistView - at least do my previous speed hack when QueryItemBkColor is not set. Then at least tools that don't background drawing don't get an unnecessary speed cost
This commit is contained in:
parent
9609bf1601
commit
555370540a
|
@ -624,6 +624,12 @@ namespace BizHawk.Client.EmuHawk
|
||||||
case (int)Notices.NM_CUSTOMDRAW:
|
case (int)Notices.NM_CUSTOMDRAW:
|
||||||
OnCustomDrawNotice(ref m);
|
OnCustomDrawNotice(ref m);
|
||||||
messageProcessed = true;
|
messageProcessed = true;
|
||||||
|
|
||||||
|
if (QueryItemBkColor == null)
|
||||||
|
{
|
||||||
|
m.Result = (IntPtr)0;
|
||||||
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case (int)ListViewNotices.LVN_GETDISPINFOW:
|
case (int)ListViewNotices.LVN_GETDISPINFOW:
|
||||||
OnDispInfoNotice(ref m, false);
|
OnDispInfoNotice(ref m, false);
|
||||||
|
|
Loading…
Reference in New Issue