How to add a corner for a button?
<p>How can I create a corner like this for a button?</p>

<p><img src="http://i.stack.imgur.com/PYW5J.png" alt="cornered button"></p>

<p>This button is created programmatically, and I can't use an image because the width/height of the button varies.</p>
