Sha256: 4e1af451e7f6eafbbb0dd02bc8d128ba1b787e8c3ba76145d154ec4ec3d4d69e
Contents?: true
Size: 510 Bytes
Versions: 3
Compression:
Stored size: 510 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::VListBox wx_each_selected = instance_method :each_selected wx_redefine_method :each_selected do |&block| if block wx_each_selected.bind(self).call(&block) else ::Enumerator.new { |y| wx_each_selected.bind(self).call { |sel| y << sel } } end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
wxruby3-1.4.2 | lib/wx/core/v_list_box.rb |
wxruby3-1.4.1 | lib/wx/core/v_list_box.rb |
wxruby3-1.4.0 | lib/wx/core/v_list_box.rb |