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:
Václav Slavík
2016-10-31 09:29:21 +01:00
parent 240f826185
commit d3924b7d41

View File

@@ -1343,7 +1343,7 @@ bool wxDataViewProgressRenderer::GetValue( wxVariant &value ) const
#if wxUSE_ACCESSIBILITY #if wxUSE_ACCESSIBILITY
wxString wxDataViewProgressRenderer::GetAccessibleDescription() const wxString wxDataViewProgressRenderer::GetAccessibleDescription() const
{ {
return wxString::Format(wxS("%i"), m_value); return wxString::Format(wxS("%i %%"), m_value);
} }
#endif // wxUSE_ACCESSIBILITY #endif // wxUSE_ACCESSIBILITY