Sha256: d211a40907b359120b10b625b89ee0e3a87c7c3d0149f0afa6a154d64a43b3e2

Contents?: true

Size: 575 Bytes

Versions: 13

Compression:

Stored size: 575 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

require_relative './controlwithitems'

module Wx

  class ComboBox

    # redefine #clear method to take care of client data and to call the proper #clear_items method
    # (not the #clear method inherited from the TextEntry mixin)
    wx_clear = instance_method :clear_items
    define_method :clear do
      wx_clear.bind(self).call
    end

  end

end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
wxruby3-1.3.1 lib/wx/core/combobox.rb
wxruby3-1.3.0 lib/wx/core/combobox.rb
wxruby3-1.2.1 lib/wx/core/combobox.rb
wxruby3-1.2.0 lib/wx/core/combobox.rb
wxruby3-1.1.2 lib/wx/core/combobox.rb
wxruby3-1.1.1 lib/wx/core/combobox.rb
wxruby3-1.1.0 lib/wx/core/combobox.rb
wxruby3-1.0.1 lib/wx/core/combobox.rb
wxruby3-0.9.8 lib/wx/core/combobox.rb
wxruby3-0.9.7 lib/wx/core/combobox.rb
wxruby3-0.9.5 lib/wx/core/combobox.rb
wxruby3-0.9.4 lib/wx/core/combobox.rb
wxruby3-0.9.3 lib/wx/core/combobox.rb