Does anybody know how to redirect an event, such as an update_ui event,
from the main frame to the control which has focus. I want the behavior
of the global editing menu be under the control of the wxTextCtrl which
has the current focus. For this to work, the update_ui event should be
processed by the text control's, instead of the main frame's event
manager. wxWidgets' wxEventHandler has the ProcessEvent function for
this, but that is missing in wxErlang.