X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/62b4ae0811c3168cd689e202ba8aa8e052916b9b..6294ac2e91af3408cfa04910b90ad7ace94f1220:/docs/latex/wx/paintevt.tex?ds=inline

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);
 
