Sha256: cab11e31b12f47c1a9ee505a170c06c895c977fdc3256552c59cb9bc7f06c8c9

Contents?: true

Size: 950 Bytes

Versions: 9

Compression:

Stored size: 950 Bytes

Contents

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

require_relative './frame'

module WXRuby3

  class Director

    class MDIFrame < Frame

      def setup
        spec.items.replace(%w[wxMDIParentFrame wxMDIChildFrame])
        super
        spec.no_proxy %w[
          wxMDIParentFrame::GetActiveChild
          wxMDIParentFrame::SetWindowMenu
          wxMDIParentFrame::Tile
          wxMDIParentFrame::Cascade]
        # for GetClientWindow
        spec.map 'wxMDIClientWindowBase *' => 'wxMDIClientWindow *' do
          map_out code: <<~__HEREDOC
            $result = SWIG_NewPointerObj(SWIG_as_voidptr($1), SWIGTYPE_p_wxMDIClientWindow, 0 |  0 );
            __HEREDOC
        end
        spec.suppress_warning(473, 'wxMDIParentFrame::OnCreateClient')
        spec.no_proxy %w[
          wxMDIChildFrame::Activate]
      end
    end # class MDIFrame

  end # class Director

end # module WXRuby3

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
wxruby3-0.9.0.pre.rc.3 rakelib/lib/director/mdi_frame.rb
wxruby3-0.9.0.pre.rc.2 rakelib/lib/director/mdi_frame.rb
wxruby3-0.9.0.pre.rc.1 rakelib/lib/director/mdi_frame.rb
wxruby3-0.9.0.pre.beta.14 rakelib/lib/director/mdi_frame.rb
wxruby3-0.9.0.pre.beta.13 rakelib/lib/director/mdi_frame.rb
wxruby3-0.9.0.pre.beta.11 rakelib/lib/director/mdi_frame.rb
wxruby3-0.9.0.pre.beta.10 rakelib/lib/director/mdi_frame.rb
wxruby3-0.9.0.pre.beta.9 rakelib/lib/director/mdi_frame.rb
wxruby3-0.9.0.pre.beta.8 rakelib/lib/director/mdi_frame.rb