Clear selection in combobox CB_READONLY

Hi all,

  Is there any way to clear the selection of a combobox with style wxCB_READONLY? I'm trying with combo.SetStringSelection ('') or combo.SetStringSelection(None) but it doesn't work because the value that i want to set selected isn't in the choices list.

Thanks

Diego Chaparro wrote:

    Hi all,

    Is there any way to clear the selection of a combobox with style wxCB_READONLY?

Only if the empty string is in the list of choices, I think.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!