Implement wxDataViewCustomRenderer::GetAccessibleDescription()

This is a default description of the renderer content (for accessibility purposes).
Thanks to this implementation there is not necessary to override GetAccessibleDescription() in the renderers derived from wxDataViewCustomRenderer.
This commit is contained in:
Artur Wieczorek
2016-10-30 20:59:51 +01:00
parent fb219aaf35
commit 9b8f46df36
3 changed files with 31 additions and 3 deletions

View File

@@ -36,6 +36,10 @@ public:
return ActivateCell(cell, model, item, col, mouseEvent);
}
#if wxUSE_ACCESSIBILITY
virtual wxString GetAccessibleDescription() const wxOVERRIDE;
#endif // wxUSE_ACCESSIBILITY
private:
wxDECLARE_DYNAMIC_CLASS_NO_COPY(wxDataViewCustomRenderer);
};