At 21:34 2005-12-29, Plum, Jason wrote:
My $ico = new Win32::GUI::Icon( [EMAIL PROTECTED]); then in the button, -icon => $ico
Make sure the $ico variable is in scope for the lifetime of the dialog. The easiest way to do that is to put it in a global (replace "my" with "our" in this case, or put all image resources in a global array or hash).
IMHO, this should be handled automatically by controls that has other media objects assigned to them like this.
/J