remove useless comparison of unsigned value with 0

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2008-11-14 23:31:37 +00:00
parent a22895511a
commit 9e996d8c43

View File

@ -1237,7 +1237,7 @@ bool wxSystemColourProperty::StringToValue( wxVariant& value, const wxString& te
if ( res && GetIndex() >= 0 )
{
val.m_type = GetIndex();
if ( val.m_type >= 0 && val.m_type < m_choices.GetCount() )
if ( val.m_type < m_choices.GetCount() )
val.m_type = m_choices[val.m_type].GetValue();
// Get proper colour for type.