Push OK button when pressing enter
Vadim Zeitlin
vadim at wxwidgets.org
Tue Dec 4 12:13:09 PST 2007
On Tue, 4 Dec 2007 14:26:34 +0100 (CET) koen at vermeer.tv wrote:
> I'm sure this is a FAQ (it feels like it's simple, but I just cannot find
> a way to accomplish it), but here it goes anyway: On a wxDialog, how do I
> set up things in such a way that when the user presses Enter, the OK
> button is pushed?
Call SetDefault() on it.
Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
More information about the wx-users
mailing list