void wxComboListBox::SetStringValue(const wxString& value)
{
- if ( !value.empty() && (FindString(value) != wxNOT_FOUND) )
- wxListBox::SetStringSelection(value);
+ if ( !value.empty() )
+ {
+ if (FindString(value) != wxNOT_FOUND)
+ wxListBox::SetStringSelection(value);
+ }
else
wxListBox::SetSelection(-1);
}