selecting from a wxChoice

Hi list,

is there any easy way to find out why the selection in a wxChoice changed (i.e. did the user select another item by using the mouse, or the keyboard?). Easy means without subclassing a wxChoice.

Thanks,

Cristina.

C. Iacob wrote:

Hi list,

is there any easy way to find out why the selection in a wxChoice changed (i.e. did the user select another item by using the mouse, or the keyboard?). Easy means without subclassing a wxChoice.

No, I don't think so.

···

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

Why does it matters?
Anyway... this is the best I could do:
Attached is a file demonstrating how you might achieve what you want.

choice.py (632 Bytes)

···

On Tue, 31 Aug 2004 18:32:38 +0300, C. Iacob <ciacob@cluj.astral.ro> wrote:

Hi list,

is there any easy way to find out why the selection in a wxChoice changed (i.e. did the user select another item by using the mouse, or the keyboard?). Easy means without subclassing a wxChoice.

--
Peter Damoc
Hacker Wannabe