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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user