Appendix H How wxWidgets Processes Events
This appendix takes a closer look at how wxWidgets processes events, going into details omitted from the simplified view we’ve seen so far.
When an event is received from the windowing system, wxWidgets calls
wxEvtHandler::ProcessEvent on the first event handler object belonging to the window generating the event.
1. If the object is disabled (via a call to
wxEvtHandler::SetEvtHandlerEnabled), the function skips to Step 6.
2. If the object is a
ProcessEvent is recursively called on the window’s
wxValidator. If this returns
true, the function exits.
SearchEventTable is called for this event handler. ...