From: Julian Smart Date: Tue, 18 Jan 2005 17:44:56 +0000 (+0000) Subject: Skip processing in OnTextEnter so normal return processing works. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/cd2e10d695710544b1533684b5e6ac1317fda1bc?ds=inline 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 --- 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))