noreply at rubyforge.org
2007-May-12 12:47 UTC
[Wxruby-development] [ wxruby-Bugs-10797 ] App#filter_event always passes Wx::Event
Bugs item #10797, was opened at 2007-05-12 12:47 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=10797&group_id=35 Category: Incorrect behavior Group: None Status: Open Resolution: None Priority: 3 Submitted By: Alex Fenton (brokentoy) Assigned to: Alex Fenton (brokentoy) Summary: App#filter_event always passes Wx::Event Initial Comment: If the App class defines a filter_event method it is correctly called every time an event is generated. However, it always receives an event of class Wx::Event, rather than the appropriate subclass (eg Wx::IdleEvent). We need to hook up the EventThunker code in swig/classes/EvtHandler.i to wrap the C++ objects with the correct class. ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=10797&group_id=35
Reasonably Related Threads
- [ wxruby-Bugs-6632 ] Linux crash on NoteBook in bigdemo.rb
- [ wxruby-Bugs-12610 ] Possible crash with EvtHandler.add_pending_evemt and custom event class
- [ wxruby-Patches-20130 ] Event handling performance issues
- [1092] trunk/wxruby2/swig/classes/App.i: Pass correctly typed Events into filter_event, if defined (bug 10797);
- [ wxruby-Bugs-17827 ] Crash when closing Dialog in bigdemo.rb