The wxPropertyFormValidator class defines a base class for form validators. By overriding virtual functions, the programmer can create custom behaviour for kinds of property.
See also
wxPropertyFormValidator overview
Members
wxPropertyFormValidator::wxPropertyFormValidator
wxPropertyFormValidator::~wxPropertyFormValidator
wxPropertyFormValidator::OnCommand
wxPropertyFormValidator::OnCheckValue
wxPropertyFormValidator::OnDisplayValue
wxPropertyFormValidator::OnDoubleClick
wxPropertyFormValidator::OnRetrieveValue
void wxPropertyFormValidator(long flags = 0)
Constructor.
void ~wxPropertyFormValidator()
Destructor.
bool OnCommand(wxProperty *property, wxPropertyFormView *view, wxWindow *parentWindow, wxCommandEvent& event)
Called when the control corresponding to the property receives a command (if not intercepted by a callback associated with the actual control).
bool OnCheckValue(wxProperty *property, wxPropertyFormView *view, wxWindow *parentWindow) Called when the view checks the property value. The value checked by this validator should be taken from the panel item corresponding to the property.
bool OnDisplayValue(wxProperty *property, wxPropertyFormView *view, wxWindow *parentWindow)
Should display the property value in the appropriate control.
bool OnDoubleClick(wxProperty *property, wxPropertyFormView *view, wxWindow *parentWindow)
Called when the control corresponding to the property is double clicked (listboxes only).
bool OnRetrieveValue(wxProperty *property, wxPropertyFormView *view, wxWindow *parentWindow)
Should do the transfer from the property editing area to the property itself.