]> git.saurik.com Git - wxWidgets.git/commitdiff
more user-friendly error message
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Fri, 6 Feb 2009 17:03:12 +0000 (17:03 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Fri, 6 Feb 2009 17:03:12 +0000 (17:03 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/valtext.cpp

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