diff --git a/docs/latex/wx/paintevt.tex b/docs/latex/wx/paintevt.tex index 6fb8a7d211..cae225e95e 100644 --- a/docs/latex/wx/paintevt.tex +++ b/docs/latex/wx/paintevt.tex @@ -35,7 +35,7 @@ For example: \small{% \begin{verbatim} - void MyWindow::OnPaint(wxPaintEvent\& event) + void MyWindow::OnPaint(wxPaintEvent& event) { wxPaintDC dc(this); @@ -55,7 +55,7 @@ Here is an example of using the \helpref{wxRegionIterator}{wxregioniterator} cla {\small% \begin{verbatim} // Called when window needs to be repainted. -void MyWindow::OnPaint(wxPaintEvent\& event) +void MyWindow::OnPaint(wxPaintEvent& event) { wxPaintDC dc(this);