<div dir="ltr">Hello all,<br><br>I have another strange issue.<br><br>I want to decorate the main window (frame) of my application with an icon. I have the icon in xpm format. With the following code:<br><br> # Icon stuff!!!<br>
icon_file = File.join(File.dirname(__FILE__), 'circadian.xpm')<br> icon = Wx::Icon.new(icon_file, Wx::BITMAP_TYPE_XPM)<br> set_icon(icon)<br><br>Things seem to run okay but I don't get an icon. If I use the same icon file for a TaskBarIcon it works perfectly.<br>
<br>I don't get any errors but I don't get an icon either. Any suggestions? This appeared to be how it was being set in the big demo.<br><br>-Glen<br clear="all"><br>-- <br>"Hey brother Christian with your high and mighty errand, Your actions speak so loud, I can't hear a word you're saying." <br>
<br>-Greg Graffin (Bad Religion)<br>
</div>