Create a gist now

Instantly share code, notes, and snippets.

Get rid of the 'create_popup_menu' error when defining a dock icon for wxRuby app
module Wx
class TaskBarIcon
def create_popup_menu *args
STDOUT << "dock icon clicked in some way"
nil
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment