Sha256: 30e156d71c0e9e1d3267f020054afcb9c3c1f91ea7fa6134c5446f1158766e5c
Contents?: true
Size: 552 Bytes
Versions: 3
Compression:
Stored size: 552 Bytes
Contents
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. class Wx::RBN::RibbonPage # manage RibbonArtProvider for GC wx_set_art_provider = instance_method :set_art_provider wx_redefine_method :set_art_provider do |prov| @art_provider = nil # clear any previously set wx_set_art_provider.bind(self).call(prov) if prov != get_ancestor_ribbon_bar.get_art_provider @art_provider = prov # keep non-wx-managed provider safe end end alias :art_provider= :set_art_provider end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
wxruby3-1.4.2 | lib/wx/rbn/ribbon_page.rb |
wxruby3-1.4.1 | lib/wx/rbn/ribbon_page.rb |
wxruby3-1.4.0 | lib/wx/rbn/ribbon_page.rb |