pressing Enter when a wxButton has the focus

cai public.cai at gmail.com
Thu Oct 5 01:53:03 PDT 2006


Hi list,

when pressing Enter when a wxButton has the focus in a simple custom 
wxDialog, the event handler of that button is not called. Also the 
dialog's handler for EVT_KEY_DOWN is not called, no matter what key I press.

Funny thing is that the event handler of that button is called when 
it has the focus and I hit <space>.

The buttons in other dialog boxes I wrote react at Enter; I don't see 
what has this dialog box so special. Does anybody have any idea please?

Thank you,

Cristina.





More information about the wx-users mailing list