Sha256: 53c474a43a234e65a27a90bef495facddfc34a51e0b59030c3625b060e3fc025
Contents?: true
Size: 969 Bytes
Versions: 16
Compression:
Stored size: 969 Bytes
Contents
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. ### # wxRuby3 wxWidgets interface director ### require_relative './window' module WXRuby3 class Director class ScrollBar < Window def setup super end def process(gendoc: false) defmod = super # fix documentation errors for scroll events def_item = defmod.find_item('wxScrollBar') if def_item def_item.event_types.each do |evt_spec| case evt_spec.first when 'EVT_COMMAND_SCROLL_THUMBRELEASE', 'EVT_COMMAND_SCROLL_CHANGED' if evt_spec[2] == 0 evt_spec[2] = 1 # incorrectly documented without 'id' argument evt_spec[4] = true # ignore extracted docs end end end end defmod end end # class ScrollBar end # class Director end # module WXRuby3
Version data entries
16 entries across 16 versions & 1 rubygems