Sha256: b91fafe3ddc5f27e6dda60f81c2d78f871b439e861e83f993e9377fe608ff725

Contents?: true

Size: 1021 Bytes

Versions: 3

Compression:

Stored size: 1021 Bytes

Contents

###
# wxRuby3 wxWidgets interface director
# Copyright (c) M.J.N. Corino, The Netherlands
###

module WXRuby3

  class Director

    class HTMLDataObject < Director

      include Typemap::DataFormat
      include Typemap::DataObjectData

      def setup
        super
        spec.gc_as_object
        # make sure the build scripts know that DataObjectSimple is part of the DataObject module
        spec.override_inheritance_chain('wxHTMLDataObject', {'wxDataObjectSimple' => 'wxDataObject'}, 'wxDataObject')
        # we only allow Ruby derivatives from wxDataObject but not of any of the C++ implemented
        # specializations
        spec.no_proxy 'wxHTMLDataObject'
        # SWIG gets confused and doesn't realise that various virtual methods
        # from wxDataObject are implemented fully in this subclass, and so,
        # believing it to be abstract doesn't provide an allocator for this
        # class. This overrides this.
        spec.make_concrete 'wxHTMLDataObject'

      end

    end

  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
wxruby3-0.9.0.pre.rc.3 rakelib/lib/director/html_data_object.rb
wxruby3-0.9.0.pre.rc.2 rakelib/lib/director/html_data_object.rb
wxruby3-0.9.0.pre.rc.1 rakelib/lib/director/html_data_object.rb