wxFormBuilder: how to activate wxTE_PROCESS_ENTER in a wxtextctrl widget?
I'm starting to build my firsts (simple) GUI application. I'm using wxFormBuilder to create wxWidgets forms and dialogs.
I've got two doubts:
1) I'd like to process the "enter" key when is pressed within a wxtextctrl widget. I found that is necessary to set "wxTE_PROCESS_ENTER" style. I did it by editing by hand the classes generated by wxFormBuilder. But anybody knows how to do it from within wxformBuilder?
2) Pressing some buttons my gui opens a dialog. I'd like to close it when ESC key is pressed. How could I implement that?
Thanks in advanced,
Matías
|