Called by the framework when it needs to draw the item's button.
Override it in a derived class to customize the button appearance.