Code covered by the BSD License
by Qun HAN
01 Dec 2006
(Updated 01 Dec 2006)
Set the uipushtool icon to an specified image.
Watch this File
Set the icon of the uipushtool on the toolbar to your specified image. Although you can do this by setting the uipushtool's CData, setIconImage can better preserve the transparency of the image after it is added on to the uipushtool.