Sha256: 40faed630c7c01313d6dbb2059c08ce6391d98a25d014f9fea97a0ca9f998652

Contents?: true

Size: 629 Bytes

Versions: 7

Compression:

Stored size: 629 Bytes

Contents

# Copyright (c) 2023 M.J.N. Corino, The Netherlands
#
# This software is released under the MIT license.

# Advanced User Interface Notebook - draggable panes etc

class Wx::AUI::AuiFloatingFrame

  # Before wxWidgets 3.3 the AUI manager of this control would prevent
  # WindowDestroyEvent propagation so we 'patch' in a std event handler
  # that designates the event skipped.
  if Wx::WXWIDGETS_VERSION < '3.3'
    wx_initialize = instance_method :initialize
    define_method :initialize do |*args|
      wx_initialize.bind(self).call(*args)
      evt_window_destroy { |evt| evt.skip }
    end
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

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