\func{virtual void}{AddPendingEvent}{\param{wxEvent\& }{event}}
Adds an event to be processed later. The function will return immediately and the
-event will get processed in idle time using the \helpref{wxEvtHandler::ProcessEvent}{wxevthandlerprocessevent}
+event will get processed in idle time using the \helpref{wxEvtHandler::ProcessEvent}{wxevthandlerprocessevent}
method.
\wxheading{Parameters}
\wxheading{Remarks}
-Note that this requires that the event has a fully implemented Clone()
+Note that this requires that the event implements
+\helpref{CopyObject}{wxobjectcopyobject}
method so that the event can be duplicated and stored until it gets processed later.
-Not all events in wxWindows currently have a fully implemented Clone() method,
+Not all events in wxWindows currently fully implement this method,
so you may have to look at the source to verify this.
This methods automatically wakes up idle handling even if the underlying window
method - which also means that this method is thread safe by means of using
crtical sections where needed.
+% VZ: bad idea IMHO - we're going to have a lot of problems with this
Furthermore, it may be noted that some ports of wxWindows will probably move
to using this method more and more in preference over calling ProcessEvent()
directly so as to avoid problems with reentrant code.
\membersection{wxEvtHandler::Disconnect}\label{wxevthandlerdisconnect}
\func{bool}{Disconnect}{\param{int}{ id},
- \param{wxEventType }{eventType = wxEVT_NULL}, \param{wxObjectEventFunction}{ function = NULL},
+ \param{wxEventType }{eventType = wxEVT\_NULL}, \param{wxObjectEventFunction}{ function = NULL},
\param{wxObject*}{ userData = NULL}}
\func{bool}{Disconnect}{\param{int}{ id}, \param{int}{ lastId = -1},
- \param{wxEventType }{eventType = wxEVT_NULL}, \param{wxObjectEventFunction}{ function = NULL},
+ \param{wxEventType }{eventType = wxEVT\_NULL}, \param{wxObjectEventFunction}{ function = NULL},
\param{wxObject*}{ userData = NULL}}
Disconnects the given function dynamically from the event handler, using the specified