Sha256: 8afd30c2ad5829969fb6b6b457b795dead7e80baa97a1c98f9aa5096c33835c4
Contents?: true
Size: 479 Bytes
Versions: 5
Compression:
Stored size: 479 Bytes
Contents
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. module Wx if Wx::PLATFORM == 'WXMSW' class TaskBarButton wx_remove_thumb_bar_button = instance_method :remove_thumb_bar_button define_method :remove_thumb_bar_button do |button| button = button.get_id if button.is_a?(Wx::ThumbBarButton) wx_remove_thumb_bar_button.bind(self).call(button) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems