lib/wx/core/event.rb in wxruby3-1.2.1 vs lib/wx/core/event.rb in wxruby3-1.3.0
- old
+ new
@@ -56,6 +56,13 @@
EvtHandler.register_event_type EvtHandler::EventType[
'evt_nc_paint', 0,
Wx::EVT_NC_PAINT,
Wx::NcPaintEvent
]
+ if Wx.const_defined?(:EVT_HOTKEY)
+ EvtHandler.register_event_type EvtHandler::EventType[
+ 'evt_hotkey', 1,
+ Wx::EVT_HOTKEY,
+ Wx::KeyEvent
+ ]
+ end
end