Sha256: 9c637ada3963df2514f5110caec9c067b6bae8a7d2ce82a03d2690e95730cbeb

Contents?: true

Size: 365 Bytes

Versions: 6

Compression:

Stored size: 365 Bytes

Contents

# Base class for all events
class Wx::Event
  # Get the Wx id, not Ruby's deprecated Object#id
  alias :id :get_id
end

module Wx
  # reduce mapping warnings for this unpublished event class
  NcPaintEvent = Wx::Event

  EvtHandler.register_event_type EvtHandler::EventType[
    'evt_nc_paint', 0,
    Wx::EVT_NC_PAINT,
    Wx::NcPaintEvent
  ]
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
wxruby3-0.9.0.pre.beta.11-x64-mingw-ucrt lib/wx/core/event.rb
wxruby3-0.9.0.pre.beta.10-x64-mingw-ucrt lib/wx/core/event.rb
wxruby3-0.9.0.pre.beta.9-x64-mingw-ucrt lib/wx/core/event.rb
wxruby3-0.9.0.pre.beta.8-x64-mingw-ucrt lib/wx/core/event.rb
wxruby3-0.9.0.pre.beta.2-x64-mingw-ucrt-3.2-3.2.2 lib/wx/core/event.rb
wxruby3-0.9.0.pre.beta.1-x64-mingw-ucrt-3.2 lib/wx/core/event.rb