Sha256: c9c805016bfe90e929b6865a60ea060ea90a48c0a5e8d284ff8372c8330d9024

Contents?: true

Size: 1.06 KB

Versions: 5

Compression:

Stored size: 1.06 KB

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 RichTextStyleListBox < Window

      include Typemap::RichText

      def setup
        super
        spec.items << 'wxRichTextStyleListCtrl' << 'wxRichTextStyleComboCtrl'
        spec.include 'wx/odcombo.h'
        spec.add_header_code 'extern VALUE wxRuby_RichTextStyleDefinition2Ruby(const wxRichTextStyleDefinition *wx_rtsd, int own);'
        spec.override_inheritance_chain('wxRichTextStyleListBox', %w[wxHtmlListBox wxVListBox wxVScrolledWindow wxPanel wxWindow wxEvtHandler wxObject])
        spec.override_inheritance_chain('wxRichTextStyleComboCtrl',
                                        %w[wxComboCtrl
                                           wxControl
                                           wxWindow
                                           wxEvtHandler
                                           wxObject])
      end

    end

  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
wxruby3-0.9.4 rakelib/lib/director/richtext_style_listbox.rb
wxruby3-0.9.3 rakelib/lib/director/richtext_style_listbox.rb
wxruby3-0.9.2 rakelib/lib/director/richtext_style_listbox.rb
wxruby3-0.9.1 rakelib/lib/director/richtext_style_listbox.rb
wxruby3-0.9.0 rakelib/lib/director/richtext_style_listbox.rb