X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/98ba1eee5d1b107e66c9fd28963b95f46fdefe89..6ef27a14143237e2423473a1d35c9d0eccc67a8f:/docs/doxygen/overviews/eventhandling.h
diff --git a/docs/doxygen/overviews/eventhandling.h b/docs/doxygen/overviews/eventhandling.h
index 1594f828a5..c9947e10ed 100644
--- a/docs/doxygen/overviews/eventhandling.h
+++ b/docs/doxygen/overviews/eventhandling.h
@@ -18,8 +18,7 @@
@li @ref overview_eventhandling_pluggable
@li @ref overview_eventhandling_winid
@li @ref overview_eventhandling_custom
-
-
+ @li @ref overview_eventhandling_macros
@@ -375,267 +374,6 @@
-
-
-
-
@section overview_eventhandling_custom Custom event summary
@subsection overview_eventhandling_custom_general General approach
@@ -708,7 +446,7 @@
// Give it some contents
event.SetText( wxT("Hallo") );
// Send it
- GetEventHandler()-ProcessEvent( event );
+ GetEventHandler()->ProcessEvent( event );
}
@endcode
@@ -771,7 +509,7 @@
#define EVT_PLOT(id, fn) \
DECLARE_EVENT_TABLE_ENTRY( wxEVT_PLOT_ACTION, id, -1, \
(wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction) (wxNotifyEventFunction) \
- wxStaticCastEvent( wxPlotEventFunction, & fn ), (wxObject *) NULL ),
+ wxStaticCastEvent( wxPlotEventFunction, &fn ), (wxObject *) NULL ),
// code implementing the event type and the event class
@@ -787,7 +525,7 @@
EVT_PLOT (ID_MY_WINDOW, MyFrame::OnPlot)
END_EVENT_TABLE()
- void MyFrame::OnPlot( wxPlotEvent )
+ void MyFrame::OnPlot( wxPlotEvent &event )
{
wxPlotCurve *curve = event.GetCurve();
}
@@ -804,5 +542,13 @@
}
@endcode
+
+
+
+ @section overview_eventhandling_macros Event macros summary
+
+ For the full list of event classes, please see the
+ @ref page_class_cat_events page.
+
*/