(2.8.0 regression?) receive EVT_KEY_DOWN for wxRadioButton

Vadim Zeitlin vadim at wxwindows.org
Thu Dec 28 15:26:04 PST 2006


On Mon, 18 Dec 2006 13:27:18 +0100 Markus Rollmann <markus.rollmann at gmx.de> wrote:

MR> I have trouble receiving an EVT_KEY_DOWN for wxRadioButton controls with 
MR> a custom wxEvtHandler. The problem is specific to the 'enter' key.

 I guess it's due to the fact that Enter is used for dialog navigation
(triggering default button). Try adding wxWANTS_CHARS flag to the style in
wxRadioButton ctor, does it help?

 Regards,
VZ

-- 
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/





More information about the wx-users mailing list