268
268
\rtfsp\helpref{wxWindow::SetEventHandler}{wxwindowseteventhandler} (or, preferably,
269
269
\rtfsp\helpref{wxWindow::PushEventHandler}{wxwindowpusheventhandler}) to make this
270
270
event handler the object that responds to events. This way, you can avoid
273
274
manually, use the GetEventHandler function to retrieve the window's event handler and use that
274
275
to call the member function. By default, GetEventHandler returns a pointer to the window itself
275
276
unless an application has redirected event handling using SetEventHandler or PushEventHandler.