From cd2e10d695710544b1533684b5e6ac1317fda1bc Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Tue, 18 Jan 2005 17:44:56 +0000 Subject: [PATCH] Skip processing in OnTextEnter so normal return processing works. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/widgets/textctrl.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/samples/widgets/textctrl.cpp b/samples/widgets/textctrl.cpp index 21a4f36f7c..aee45b0f9f 100644 --- a/samples/widgets/textctrl.cpp +++ b/samples/widgets/textctrl.cpp @@ -815,6 +815,7 @@ void TextWidgetsPage::OnText(wxCommandEvent& WXUNUSED(event)) void TextWidgetsPage::OnTextEnter(wxCommandEvent& event) { wxLogMessage(_T("Text entered: '%s'"), event.GetString().c_str()); + event.Skip(); } void TextWidgetsPage::OnCheckOrRadioBox(wxCommandEvent& WXUNUSED(event)) -- 2.50.0