Re: EVT_COMBOBOX handler called twice
I have now found that inserting a panel between the frame and combobox doesn’t fix the problem on HP-UX.
I have also found on HP-UX that if you display the combobox’s list and click on an item in the list and drag the mouse pointer up and down the list, then it generates a stream of events all the time the mouse button is held down. I have not found a way to distinguish these events from and event where the mouse button is released.
Should the combobox generate these multiple events?
It just depends on when the native control sends the event/message/callback to wxWidgets.
···
Richard.Townsend@edl.uk.eds.com wrote:
I have now found that inserting a panel between the frame and combobox doesn't fix the problem on HP-UX.
I have also found on HP-UX that if you display the combobox's list and click on an item in the list and drag the mouse pointer up and down the list, then it generates a stream of events all the time the mouse button is held down. I have not found a way to distinguish these events from and event where the mouse button is released.
Should the combobox generate these multiple events?
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!