This patch fixes the controls.rb sample so the images load properly on
windows.
On windows, wxIcon does -not- descend from wxImage. This means it does
not have access to the image handling routines wxImage does.
Furthermore, despite the documentation, it does -not- support XPM icons
on Windows. The solution is to just not use icons where images are
needed. The second solution was to default the application icon to the
mondrian.ico file. This should work properly on other OSes. Please let
me know if it breaks on OSX or Linux.
Roy
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users