wxRole& GetRole()
Returns the role of the property, to be used when choosing an appropriate validator.