Sha256: 16895eb03ffec3ea47f76f643510eb9596252f19bef462cc20b8804218ebd66d
Contents?: true
Size: 580 Bytes
Versions: 3
Compression:
Stored size: 580 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 wx_redefine_method :clear do wx_clear.bind(self).call end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
wxruby3-1.4.2 | lib/wx/core/combobox.rb |
wxruby3-1.4.1 | lib/wx/core/combobox.rb |
wxruby3-1.4.0 | lib/wx/core/combobox.rb |