Add wxACC_INVALID_ARG error code to wxAccStatus enum

Since accessibility framework supports signaling E_INVALIDARG error, it would be good to have a corresponding flag indicating this error in wxAccessible functions.
In response to wxACC_INVALID_ARG returned by wxAccessible functions, wxIAccessible should return E_INVALIDARG to the framework.
This commit is contained in:
Artur Wieczorek
2016-10-03 20:43:00 +02:00
parent ad684a814a
commit fb5f6c4720
4 changed files with 50 additions and 2 deletions

View File

@@ -16,7 +16,12 @@ enum wxAccStatus
wxACC_FALSE, //!< The function returned false.
wxACC_OK, //!< The function completed successfully.
wxACC_NOT_IMPLEMENTED, //!< The function is not implemented.
wxACC_NOT_SUPPORTED //!< The function is not supported.
wxACC_NOT_SUPPORTED, //!< The function is not supported.
/**
An argument is not valid (e.g. it does not make sense
for the specified object).
*/
wxACC_INVALID_ARG
};