fixed @code sections

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi
2008-03-02 15:18:23 +00:00
parent 023b8f7192
commit 38b5b4938f
7 changed files with 29 additions and 29 deletions

View File

@@ -708,7 +708,7 @@
// Give it some contents
event.SetText( wxT("Hallo") );
// Send it
GetEventHandler()-ProcessEvent( event );
GetEventHandler()->ProcessEvent( event );
}
@endcode
@@ -771,7 +771,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 +787,7 @@
EVT_PLOT (ID_MY_WINDOW, MyFrame::OnPlot)
END_EVENT_TABLE()
void MyFrame::OnPlot( wxPlotEvent )
void MyFrame::OnPlot( wxPlotEvent &event )
{
wxPlotCurve *curve = event.GetCurve();
}