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