Implement MyCustomRenderer::GetAccessibleDescription() in dataview sample
If wxUSE_ACCESSIBILITY is set to 1, this method has to be overridden for all custom renderers.
This commit is contained in:
@@ -234,6 +234,13 @@ public:
|
|||||||
|
|
||||||
virtual bool GetValue( wxVariant &WXUNUSED(value) ) const wxOVERRIDE { return true; }
|
virtual bool GetValue( wxVariant &WXUNUSED(value) ) const wxOVERRIDE { return true; }
|
||||||
|
|
||||||
|
#if wxUSE_ACCESSIBILITY
|
||||||
|
virtual wxString GetAccessibleDescription() const wxOVERRIDE
|
||||||
|
{
|
||||||
|
return m_value;
|
||||||
|
}
|
||||||
|
#endif // wxUSE_ACCESSIBILITY
|
||||||
|
|
||||||
virtual bool HasEditorCtrl() const wxOVERRIDE { return true; }
|
virtual bool HasEditorCtrl() const wxOVERRIDE { return true; }
|
||||||
|
|
||||||
virtual wxWindow*
|
virtual wxWindow*
|
||||||
|
Reference in New Issue
Block a user