more user-friendly error message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
141794f13f
commit
56364fa221
@ -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() )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user