Sha256: 6def1e6dbd10598ac8946267787412187174796620a324342cbbf2979d1ba67d
Contents?: true
Size: 795 Bytes
Versions: 16
Compression:
Stored size: 795 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 module Wx class FindReplaceDialog < Wx::Dialog # add caching for FindReplaceData object # dialog does not take over ownership but does allow referencing # the data object so we need to keep it alive here wx_initialize = instance_method :initialize define_method :initialize do |parent, data, *args| wx_initialize.bind(self).call(parent, data, *args) @fr_data = data end wx_set_data = instance_method :set_data define_method :set_data do |data| wx_set_data.bind(self).call(data) @fr_data = data end end end
Version data entries
16 entries across 16 versions & 1 rubygems