add SetCharIncludes and SetCharExcludes utilities to wxTextValidator; use iterators when scanning wxStrings; fix typo in ContainsExcludedCharacters (reversed return values); modify the sample to show wxTextValidator with wxFILTER_EXCLUDE_CHAR_LIST
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -62,7 +62,7 @@ public:
|
||||
// These data members are designed for transfer to and from
|
||||
// controls, via validators. For instance, a text control's
|
||||
// transferred value is a string:
|
||||
wxString m_string;
|
||||
wxString m_string, m_string2;
|
||||
|
||||
// Listboxes may permit multiple selections, so their state
|
||||
// is transferred to an integer-array class.
|
||||
@@ -103,6 +103,7 @@ enum
|
||||
VALIDATE_TOGGLE_BELL,
|
||||
|
||||
VALIDATE_TEXT,
|
||||
VALIDATE_TEXT2,
|
||||
VALIDATE_LIST,
|
||||
VALIDATE_CHECK,
|
||||
VALIDATE_COMBO,
|
||||
|
Reference in New Issue
Block a user