Made accHitTest() on a cell always succeed, for the purposes of checking things.
This commit is contained in:
parent
4769299fa8
commit
d670cd7c10
|
@ -411,6 +411,9 @@ static HRESULT STDMETHODCALLTYPE tableAccaccHitTest(IAccessible *this, long xLef
|
||||||
return E_FAIL;
|
return E_FAIL;
|
||||||
case ROLE_SYSTEM_CELL:
|
case ROLE_SYSTEM_CELL:
|
||||||
// TODO could probably be its own code path
|
// TODO could probably be its own code path
|
||||||
|
pvarChild->vt = VT_I4;
|
||||||
|
pvarChild->lVal = CHILDID_SELF;
|
||||||
|
return S_OK;
|
||||||
return E_FAIL;
|
return E_FAIL;
|
||||||
}
|
}
|
||||||
if (PtInRect(&r, pt) == 0) {
|
if (PtInRect(&r, pt) == 0) {
|
||||||
|
|
Loading…
Reference in New Issue