Sha256: 4d0561e26f9fa91ef8a27e8d559c49b988d9058cd56a641d475542a10225797c

Contents?: true

Size: 972 Bytes

Versions: 4

Compression:

Stored size: 972 Bytes

Contents

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

module WXRuby3

  class Director

    class PrintData < Director

      def setup
        super
        spec.gc_as_temporary
        spec.disable_proxies # fixed and final data structures
        spec.items << 'wxPrintDialogData' << 'wxPageSetupDialogData'
        spec.ignore 'wxPrintDialogData::SetSetupDialog' # deprecated since 2.5.4
        # only keep the const version
        spec.ignore 'wxPageSetupDialogData::GetPrintData'
        spec.regard 'wxPageSetupDialogData::GetPrintData() const'
        # for GetPrintData methods
        spec.map 'wxPrintData&' => 'Wx::PrintData' do
          map_out code: '$result = SWIG_NewPointerObj(SWIG_as_voidptr(new wxPrintData(*$1)), SWIGTYPE_p_wxPrintData, SWIG_POINTER_OWN);'
        end
        spec.swig_import 'swig/classes/include/wxDefs.h'
      end
    end # class PrintData

  end # class Director

end # module WXRuby3

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
wxruby3-0.9.0.pre.beta.14 rakelib/lib/director/print_data.rb
wxruby3-0.9.0.pre.beta.13 rakelib/lib/director/print_data.rb
wxruby3-0.9.0.pre.beta.11 rakelib/lib/director/print_data.rb
wxruby3-0.9.0.pre.beta.10 rakelib/lib/director/print_data.rb