X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a7af285d1ab87e908454bfabbbe063ab1756912b..64af7c2419a977f2e5e81d67b309b947f4774a74:/docs/latex/wx/xmlres.tex?ds=sidebyside

diff --git a/docs/latex/wx/xmlres.tex b/docs/latex/wx/xmlres.tex
index c40e572ee7..352864ade0 100644
--- a/docs/latex/wx/xmlres.tex
+++ b/docs/latex/wx/xmlres.tex
@@ -192,7 +192,7 @@ Example:
 \begin{verbatim}
   MyDialog dlg;
   wxTheXmlResource->LoadDialog(&dlg, mainFrame, "my_dialog");
-  dlg->ShowModal();
+  dlg.ShowModal();
 \end{verbatim}
 
 
