Sha256: 7c628f0304fae61f3aabec92b75ba555e127f5046f80f3af7b96cf3fd7a5f70a

Contents?: true

Size: 614 Bytes

Versions: 4

Compression:

Stored size: 614 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
    wx_redefine_method :initialize do |*args|
      wx_initialize.bind(self).call(*args)
      evt_window_destroy { |evt| evt.skip }
    end
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
wxruby3-1.5.0 lib/wx/aui/auifloatframe.rb
wxruby3-1.4.2 lib/wx/aui/auifloatframe.rb
wxruby3-1.4.1 lib/wx/aui/auifloatframe.rb
wxruby3-1.4.0 lib/wx/aui/auifloatframe.rb