Made accHitTest() on a cell always succeed, for the purposes of checking things.

This commit is contained in:
Pietro Gagliardi 2015-02-15 22:58:34 -05:00
parent 4769299fa8
commit d670cd7c10
1 changed files with 3 additions and 0 deletions

View File

@ -411,6 +411,9 @@ static HRESULT STDMETHODCALLTYPE tableAccaccHitTest(IAccessible *this, long xLef
return E_FAIL;
case ROLE_SYSTEM_CELL:
// TODO could probably be its own code path
pvarChild->vt = VT_I4;
pvarChild->lVal = CHILDID_SELF;
return S_OK;
return E_FAIL;
}
if (PtInRect(&r, pt) == 0) {