Applied custom character filter patch for text validator

Corrected typo in spinbutt.tex


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2002-04-14 11:05:18 +00:00
parent ea323db37d
commit aaae829664
5 changed files with 47 additions and 1 deletions

View File

@@ -29,6 +29,8 @@
#define wxFILTER_NUMERIC 0x0008
#define wxFILTER_INCLUDE_LIST 0x0010
#define wxFILTER_EXCLUDE_LIST 0x0020
#define wxFILTER_INCLUDE_CHAR_LIST 0x0040
#define wxFILTER_EXCLUDE_CHAR_LIST 0x0080
class WXDLLEXPORT wxTextValidator: public wxValidator
{
@@ -70,6 +72,9 @@ public:
// Filter keystrokes
void OnChar(wxKeyEvent& event);
bool IsInCharIncludeList(const wxString& val);
bool IsNotInCharExcludeList(const wxString& val);
DECLARE_EVENT_TABLE()
protected: