ComboBox on Toolbar - EVT_COMBOBOX fires three times

It seems that the EVT_COMBOBOX event fires three times if the combobox is placed on a toolbar.

Is this a known issue or am I missing something.

I am on Win XP, Python 2.3.2 and wxPython 2.4.2.4.

A small sample program showing the problem is attached.

When it fires I do quit a large db selection. Currently I work around it by checking if I already did the same select, but this is not very nice.

Any help would be appreciated.

See you
Werner

cbontoolbar.py (1.71 KB)

Werner F. Bruhin wrote:

It seems that the EVT_COMBOBOX event fires three times if the combobox is placed on a toolbar.

Is this a known issue or am I missing something.

I am on Win XP, Python 2.3.2 and wxPython 2.4.2.4.

A small sample program showing the problem is attached.

When it fires I do quit a large db selection. Currently I work around it by checking if I already did the same select, but this is not very nice.

This is a known problem. For now you'll have to continue doing your workaround.

ยทยทยท

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