Aquabutton - shouldn't enter be considered a click if button has focus?

E.g. genButton when it has focus and one presses the enter a click event is emitted.

Aquabutton doesn't do it but I think it should, but looking at wx.lib.buttons I don't see how it is done, any one has some pointers for me?

Werner

The space bar should activate the button when it has focus. Enter will be used as a navigation key in some cases, and when on a dialog it will typically send a button event corresponding to the default button, if there is one, regardless of where the focus is at. Things like that are handled by the panel or dialog rather than the button itself.

···

On 9/24/11 10:06 AM, werner wrote:

E.g. genButton when it has focus and one presses the enter a click event
is emitted.

Aquabutton doesn't do it but I think it should, but looking at
wx.lib.buttons I don't see how it is done, any one has some pointers for
me?

--
Robin Dunn
Software Craftsman