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:
@@ -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
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user