]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/textctrl.cpp
use wxUSE_DATEPICKCTRL
[wxWidgets.git] / samples / widgets / textctrl.cpp
index 21a4f36f7c20cab2d0c1d15c3b42a3e62df555d4..aee45b0f9fa3f057199ac27d86e3ffe1b4b205bc 100644 (file)
@@ -815,6 +815,7 @@ void TextWidgetsPage::OnText(wxCommandEvent& WXUNUSED(event))
 void TextWidgetsPage::OnTextEnter(wxCommandEvent& event)
 {
     wxLogMessage(_T("Text entered: '%s'"), event.GetString().c_str());
 void TextWidgetsPage::OnTextEnter(wxCommandEvent& event)
 {
     wxLogMessage(_T("Text entered: '%s'"), event.GetString().c_str());
+    event.Skip();
 }
 
 void TextWidgetsPage::OnCheckOrRadioBox(wxCommandEvent& WXUNUSED(event))
 }
 
 void TextWidgetsPage::OnCheckOrRadioBox(wxCommandEvent& WXUNUSED(event))