- wxListBox::SetStringSelection(value);
- else
- wxListBox::SetSelection(-1);
-
- /*
- // PRE-GLOBAL WXCOMBOCONTROL CODE:
-
- // FindItem() would just find the current item for an empty string (it
- // always matches), but we want to show the first one in such case
- if ( value.empty() )
- {
- if ( GetCount() > 0 )
- {
- wxListBox::SetSelection(0);
- }
- //else: empty listbox - nothing to do
- }
- else if ( !FindItem(value) )