void SetValidator(wxPropertyValidator *validator)
Sets the validator: this will be deleted when the property is deleted.