diff options
| author | Pietro Gagliardi <[email protected]> | 2015-02-15 22:58:34 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2015-02-15 22:58:34 -0500 |
| commit | d670cd7c10227e9f8ce7123f022d0458360eebef (patch) | |
| tree | 72c3d88d712641722625f9bd90e12a31e51c8f57 | |
| parent | 4769299fa8f06c33dedb742f9651638e736dc46e (diff) | |
Made accHitTest() on a cell always succeed, for the purposes of checking things.
| -rw-r--r-- | wintable/accessibility.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/wintable/accessibility.h b/wintable/accessibility.h index 7290ea2..0e989c6 100644 --- a/wintable/accessibility.h +++ b/wintable/accessibility.h @@ -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) { |
