even more user-friendly message (as suggested by John Roberts)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -149,7 +149,7 @@ bool wxTextValidator::Validate(wxWindow *parent)
|
|||||||
wxString errormsg;
|
wxString errormsg;
|
||||||
if ( HasFlag(wxFILTER_EMPTY) && val.empty() )
|
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() )
|
else if ( !(errormsg = IsValid(val)).empty() )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user