X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/86909f4c893e043dd3695d7510f2cc758e8b2cfb..9bf6a1b80cb856903e15387ebecc926142e73010:/docs/latex/wx/txrc.tex

diff --git a/docs/latex/wx/txrc.tex b/docs/latex/wx/txrc.tex
index e77cfd21f5..3a11b955d7 100644
--- a/docs/latex/wx/txrc.tex
+++ b/docs/latex/wx/txrc.tex
@@ -520,7 +520,7 @@ The code can then access the sizer item by using {\tt XRCSIZERITEM} and
 {\tt XRCID} together.
 
 \begin{verbatim}
-wxSizerItem* item = XRCSIZERITEM(*this, XRCID("area"));
+wxSizerItem* item = XRCSIZERITEM(*this, "area");
 \end{verbatim}
 
 \subsection{Adding new resource handlers}\label{newresourcehandlers}
