Fix casting variable in wxFlagsProperty::GetLabel

Cast GetLabel parameter to a proper type (unsigned int instead of int).
This commit is contained in:
Artur Wieczorek 2015-06-28 19:27:25 +02:00
parent 1fce152d3c
commit f48439cfc6

View File

@ -618,7 +618,7 @@ public:
// helpers
size_t GetItemCount() const { return m_choices.GetCount(); }
const wxString& GetLabel( size_t ind ) const
{ return m_choices.GetLabel(static_cast<int>(ind)); }
{ return m_choices.GetLabel(static_cast<unsigned int>(ind)); }
protected:
// Used to detect if choices have been changed