Return S_OK from wxIAccessible::accDoDefaultAction() if operation succeeded
S_OK should be returned (not E_FAIL) if wxAccessible::DoDefaultAction() returns wxACC_OK.
This commit is contained in:
@@ -851,6 +851,9 @@ STDMETHODIMP wxIAccessible::accDoDefaultAction(VARIANT varID)
|
||||
}
|
||||
|
||||
wxAccStatus status = m_pAccessible->DoDefaultAction(varID.lVal);
|
||||
if (status == wxACC_OK)
|
||||
return S_OK;
|
||||
|
||||
if (status == wxACC_FAIL)
|
||||
return E_FAIL;
|
||||
|
||||
|
Reference in New Issue
Block a user