even more user-friendly message (as suggested by John Roberts)
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Sun, 15 Feb 2009 12:19:08 +0000 (12:19 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Sun, 15 Feb 2009 12:19:08 +0000 (12:19 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/valtext.cpp

index 93762c52d86d5c0b746a47868350ff06f85e418a..59a7eaa6bb3b2caf83765c9ff6d6cfb4605d19e3 100644 (file)
@@ -149,7 +149,7 @@ bool wxTextValidator::Validate(wxWindow *parent)
     wxString errormsg;
     if ( HasFlag(wxFILTER_EMPTY) && val.empty() )
     {
-        errormsg = _("Please enter a non-empty string.");
+        errormsg = _("Required information entry is empty.");
     }
     else if ( !(errormsg = IsValid(val)).empty() )
     {