Sha256: 42e403c2f70dab2ef1b5dd99653ffa7d09ae2e509e0df73e1031c8408dabc3c5

Contents?: true

Size: 349 Bytes

Versions: 4

Compression:

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

4 entries across 4 versions & 1 rubygems

Version Path
wxruby3-0.9.0.pre.beta.11 lib/wx/core/event.rb
wxruby3-0.9.0.pre.beta.10 lib/wx/core/event.rb
wxruby3-0.9.0.pre.beta.9 lib/wx/core/event.rb
wxruby3-0.9.0.pre.beta.8 lib/wx/core/event.rb