Text field with validator and error handler.
TextField(wxWindow *parent, const wxString &label, const wxString &value="", wxWindowID id=wxID_ANY)
Add new text field to the form grid.
void OnError(const wxString &msg)
Shows an error below the text field.
void OnTextChanged(wxCommandEvent &event)
Text changed event handler.
Base class for member to implement validation rules.
virtual wxString IsValid(const wxString &val) const override=0
Member to implement the validation rules.
virtual wxValidator * Clone() const override=0
Member to implement the instance clone.