It’s the second example in the wxRuby tutorial entitled “Getting
Started”. However, I don’t seen any icon when I run the code on mac osx
10.4.11.
Frames in the OS X desktop don’t have icons - not in the same way as
Windows has per-frame icons in the top-left corner.
If you want to set an application-wide icon to appear in the Dock, use
Wx::TaskBarIcon. There’s an example of this in the bigdemo.rb sample
that comes with wxRuby.
PS - wxRuby questions are better on the wxruby-users mailing list:
It’s the second example in the wxRuby tutorial entitled “Getting
Started”. However, I don’t seen any icon when I run the code on mac osx
10.4.11.
Frames in the OS X desktop don’t have icons - not in the same way as
Windows has per-frame icons in the top-left corner.
If you want to set an application-wide icon to appear in the Dock, use
Wx::TaskBarIcon. There’s an example of this in the bigdemo.rb sample
that comes with wxRuby.
PS - wxRuby questions are better on the wxruby-users mailing list: