+ wxTextValidator(long style = wxFILTER_NONE, wxString *val = 0);
+ wxTextValidator(const wxTextValidator& val);
+
+ virtual ~wxTextValidator(){}
+
+ // Make a clone of this validator (or return NULL) - currently necessary
+ // if you're passing a reference to a validator.
+ // Another possibility is to always pass a pointer to a new validator
+ // (so the calling code can use a copy constructor of the relevant class).
+ virtual wxObject *Clone() const { return new wxTextValidator(*this); }
+ bool Copy(const wxTextValidator& val);
+
+ // Called when the value in the window must be validated.
+ // This function can pop up an error message.
+ virtual bool Validate(wxWindow *parent);
+
+ // Called to transfer data to the window
+ virtual bool TransferToWindow();