Sha256: 73d12d79e52b1aa051b07196e09f63627f9e742220dd407ccefeb249b8edd1fa

Contents?: true

Size: 277 Bytes

Versions: 3

Compression:

Stored size: 277 Bytes

Contents

module Wx

  module TextEntry

    wx_auto_complete = instance_method :auto_complete
    define_method :auto_complete do |completer|
      if wx_auto_complete.bind(self).call(completer)
        @completer = completer # keep the Ruby object alive
      end
    end

  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
wxruby3-0.9.0.pre.rc.3 lib/wx/core/text_entry.rb
wxruby3-0.9.0.pre.rc.2 lib/wx/core/text_entry.rb
wxruby3-0.9.0.pre.rc.1 lib/wx/core/text_entry.rb