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