Add convinience method for setting up xrc controls in derived classes.