X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f463afe347cce23a4ff565ecab990c2dfe61827a..245b9db51823e59bd61f0d7c0c69b419495cf0b7:/docs/latex/wx/tevent.tex diff --git a/docs/latex/wx/tevent.tex b/docs/latex/wx/tevent.tex index e747b06714..282cde947f 100644 --- a/docs/latex/wx/tevent.tex +++ b/docs/latex/wx/tevent.tex @@ -527,9 +527,7 @@ Under certain circumstances, it will be required to define your own event class e.g. for sending more complex data from one place to another. Apart from defining your event class, you will also need to define your own event table macro (which is quite long). Watch out to put in enough -casts to the inherited event function. Here is an example, taken mostly -from the {\it wxPlot} library, which is in the {\it contrib} section of -the wxWidgets sources. +casts to the inherited event function. Here is an example: {\small% \begin{verbatim} @@ -552,7 +550,7 @@ private: wxPlotCurve *m_curve; }; -DECLARE_EVENT_MACRO( wxEVT_PLOT_ACTION, -1 ) +DECLARE_EVENT_TYPE( wxEVT_PLOT_ACTION, -1 ) typedef void (wxEvtHandler::*wxPlotEventFunction)(wxPlotEvent&);