::wxSendEvent

Bool wxSendEvent(wxEvent& event, Bool external)

Send an event to the system; usually it will be external, but set external to FALSE if calling from within the main application in response to other events.

Returns TRUE if the event was processed.