From 20e44f4f2744ebd0c1f138612f9603ab1be59b43 Mon Sep 17 00:00:00 2001
From: Vadim Zeitlin <vadim@wxwidgets.org>
Date: Mon, 29 Oct 2007 12:11:55 +0000
Subject: [PATCH] fix syntax error in the example

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---
 docs/latex/wx/xmlres.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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}
 
 
-- 
2.50.0

