Events don't work as I expect. tab makes save sentence, while enter should be
doing that.
#include <wx/textctrl.h>
#include <wx/event.h>
class wxTextBox : public wxTextCtrl
{
private:
void OnKeyEvent(wxKeyEvent &e);
public:
wxTextBox(wxWindow *parent, int id, wxString text = _T(""));
DECLARE_EVENT_TABLE();
};