Sha256: 895c1fb6a5cdb386a4bf8414b946fbf46a750b59cfa1b350f48a606d90f2961b

Contents?: true

Size: 572 Bytes

Versions: 7

Compression:

Stored size: 572 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

7 entries across 7 versions & 1 rubygems

Version Path
wxruby3-0.9.7-x64-mingw-ucrt lib/wx/core/file_dialog.rb
wxruby3-0.9.5-x64-mingw-ucrt lib/wx/core/file_dialog.rb
wxruby3-0.9.4-x64-mingw-ucrt lib/wx/core/file_dialog.rb
wxruby3-0.9.3-x64-mingw-ucrt lib/wx/core/file_dialog.rb
wxruby3-0.9.2-x64-mingw-ucrt lib/wx/core/file_dialog.rb
wxruby3-0.9.1-x64-mingw-ucrt lib/wx/core/file_dialog.rb
wxruby3-0.9.0-x64-mingw-ucrt lib/wx/core/file_dialog.rb