X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/40ae960071c5d74e167c7fd596122ed7d9e766b9..4e0d42061ea0bc48696451886df0fab8343b020f:/src/common/valtext.cpp diff --git a/src/common/valtext.cpp b/src/common/valtext.cpp index 2732e560b3..a2f5c621ef 100644 --- a/src/common/valtext.cpp +++ b/src/common/valtext.cpp @@ -170,6 +170,10 @@ bool wxTextValidator::Validate(wxWindow *parent) switch (m_validatorStyle) { + case wxFILTER_NONE: + // nothing to do... + break; + case wxFILTER_INCLUDE_LIST: if ( m_includes.Index(val) == wxNOT_FOUND ) errormsg = _("'%s' is invalid");