void MyFrame::OnSize(wxSizeEvent& event) { // do some processing ... // skip this event to allow other handlers to run event.Skip(); }
void MyFrame::OnSize(wxSizeEvent& event) { // do some processing ... // call the next handler in the chain MyFrame::OnSize(event); // skip this event to allow other handlers to run event.Skip(); }In this example, the wxSizeEvent handler for a MyFrame object calls the next handler in the chain before skipping the event to allow other handlers to run. This allows several handlers to process the same event in a specific order. The wxSizeEvent Skip method is provided by the wxWidgets library.