ComboBox options

Ray Smith wrote:

Quoting John Salerno <johnjsal@NOSPAMgmail.com>:

If I\'d like to have a ComboBox control that uses auto-complete (typing
a name that is in the list causes that name to be placed in the text
box), how would I do that?

Also, is it possible to not allow the typing of a name that is not in
the list?

http://wiki.wxpython.org/index.cgi/Combo_Box_that_Suggests_Options

Regards,

Ray Smith
http://RaymondSmith.com

Thanks. I got it to work, sort of. But now the Combo Box has a grey square on its left half, and this blocks the first part of the entry in the text box. Where did this come from?

Kent Quirk wrote:

Having done this kind of thing several times myself, I'm guessing that you have a panel somewhere that you forgot to add to a sizer or set the wrong parent for, so it's drawing a 20x20 block at 0,0.

Thanks!