Sha256: c1123df0fba2d49e462472bfc44cc26d61d98a972537ba4029267b1c4e11dc07
Contents?: true
Size: 555 Bytes
Versions: 5
Compression:
Stored size: 555 Bytes
Contents
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license class Wx::ImageList # provide seamless support for adding icons on all platforms wx_add = instance_method :add wx_redefine_method :add do |*args| if Wx::PLATFORM == 'WXMSW' && args.size == 1 && Wx::Icon === args.first args[0] = args.first.to_bitmap end wx_add.bind(self).call(*args) end alias :<< :add end
Version data entries
5 entries across 5 versions & 1 rubygems