Sha256: 8a4882fbf1bbec96bddb90dd087c90f48f2bfd83f2d218c7ad05b97717ac1a1d
Contents?: true
Size: 751 Bytes
Versions: 16
Compression:
Stored size: 751 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 # Base class for providing context-sensitive help. The main definition # is in SWIG/C++ class Wx::HelpProvider class << self # We need to protect the currently set HelpProvider from GC as it is a # SWIG Director; it can't be reaped and re-wrapped later. The # easiest way is to make the currently set one an instance variable # of this class wx_set = instance_method :set define_method(:set) do | help_provider | wx_set.bind(self).call(help_provider) @__hp__ = help_provider end end end
Version data entries
16 entries across 16 versions & 1 rubygems