projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add event based Drop API
[wxWidgets.git]
/
src
/
common
/
valtext.cpp
diff --git
a/src/common/valtext.cpp
b/src/common/valtext.cpp
index 2732e560b36e125ff316b8a44f11167625853701..a2f5c621ef88e72110ace298921b95b5a1990330 100644
(file)
--- 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");