Sha256: 53263b3b3582b82a719e39078bc26f7a41402b9b7dbd5e43b26ee84cf4871b0b

Contents?: true

Size: 549 Bytes

Versions: 14

Compression:

Stored size: 549 Bytes

Contents

# Copyright (c) 2023 M.J.N. Corino, The Netherlands
#
# This software is released under the MIT license.
#
# Some parts are
# Copyright 2004-2007, wxRuby development team
# released under the MIT-like wxRuby2 license

# WxRuby Extensions - Dialog functors for wxRuby3

module Wx

  class FileDialog

    wx_set_customize_hook = instance_method :set_customize_hook
    define_method :set_customize_hook do |hook|
      wx_set_customize_hook.bind(self).call(hook)
      @hook = hook # cache hook to prevent premature GC collection
    end

  end

end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
wxruby3-1.2.1 lib/wx/core/file_dialog.rb
wxruby3-1.2.0 lib/wx/core/file_dialog.rb
wxruby3-1.1.2 lib/wx/core/file_dialog.rb
wxruby3-1.1.1 lib/wx/core/file_dialog.rb
wxruby3-1.1.0 lib/wx/core/file_dialog.rb
wxruby3-1.0.1 lib/wx/core/file_dialog.rb
wxruby3-0.9.8 lib/wx/core/file_dialog.rb
wxruby3-0.9.7 lib/wx/core/file_dialog.rb
wxruby3-0.9.5 lib/wx/core/file_dialog.rb
wxruby3-0.9.4 lib/wx/core/file_dialog.rb
wxruby3-0.9.3 lib/wx/core/file_dialog.rb
wxruby3-0.9.2 lib/wx/core/file_dialog.rb
wxruby3-0.9.1 lib/wx/core/file_dialog.rb
wxruby3-0.9.0 lib/wx/core/file_dialog.rb