I have a wxTextControl and a wxButton on a wxFrame, and I want Shift+Enter to cause the button to be clicked. The wxAcceleratorTable documentation says that this is possible:
"For example, you can use an accelerator table to enable a dialog with a multi-line text control to accept CTRL-Enter as meaning 'OK'."
I can't get it to work. Can you give me a short example of how to use wxFrame, wxTextControl, wxButton, and wxAcceleratorTable together?