From: kazaam Date: 2007-08-23T23:05:14+09:00 Subject: Re: wxruby and trayicon error and where to learn more about wxruby? I got help somewhere else. The icon must be loaded before, so this works correctly: #!/usr/bin/env ruby $Verbose=true require 'rubygems' require 'wx' include Wx class MinimalApp < App def on_init mytask = TaskBarIcon.new mytask.set_icon( Icon.new('shutdown.svg'),'test tooltip') end end MinimalApp.new.main_loop -- kazaam