void RegisterValidator(wxString& roleName, wxPropertyValidator *validator)
Register a validator with the registry. roleName is a name indicating the role of the property, such as "filename''. Later, when a validator is chosen for editing a property, this role name is matched against the class names of the property, if the property does not already have a validator explicitly associated with it.