Hi there, I got the following error every time when I tried right clicking the app icon on Dock. Env: Mac OS X 10.6 wxRuby: wxruby-2.0.1-universal-darwin-9 Error: undefined method `create_popup_menu' for #<Wx::TaskBarIcon:0x1884be40> Backtrace: /Users/zhimin/Work/projects/testwise/vendor/source/darwin/gems/wxruby-2.0.1-universal-darwin-9/lib/wx/accessors.rb:50:in `method_missing' /Users/zhimin/Work/projects/testwise/vendor/source/darwin/gems/wxruby-2.0.1-universal-darwin-9/lib/wx/accessors.rb:50:in `method_missing' Thanks, Zhimin
on 2010-11-08 00:31
on 2010-11-21 21:49
Hi! The docs for TaskBarIcon provide you with an explanation: http://wxruby.rubyforge.org/doc/taskbaricon.html#T... If you aren't planning to add any menus for the dock icon you can simply use this method: https://gist.github.com/709130 Hope that helps! Łukasz
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.