Fix casting variable in wxFlagsProperty::GetLabel
Cast GetLabel parameter to a proper type (unsigned int instead of int).
This commit is contained in:
parent
1fce152d3c
commit
f48439cfc6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user