Report value as percent in wxDataViewProgressRenderer
GetAccessibleDescription() should return the value as percents, not a raw number, because that's what m_value means.
This commit is contained in:
@@ -1343,7 +1343,7 @@ bool wxDataViewProgressRenderer::GetValue( wxVariant &value ) const
|
||||
#if wxUSE_ACCESSIBILITY
|
||||
wxString wxDataViewProgressRenderer::GetAccessibleDescription() const
|
||||
{
|
||||
return wxString::Format(wxS("%i"), m_value);
|
||||
return wxString::Format(wxS("%i %%"), m_value);
|
||||
}
|
||||
#endif // wxUSE_ACCESSIBILITY
|
||||
|
||||
|
Reference in New Issue
Block a user