From 585037876a5ae832c13d1dd5bad54e4000ec51b9 Mon Sep 17 00:00:00 2001
From: Vadim Zeitlin <vadim@wxwidgets.org>
Date: Fri, 26 Feb 1999 21:13:12 +0000
Subject: [PATCH] char */wxString confusion cleaned in the docs

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

diff --git a/docs/latex/wx/function.tex b/docs/latex/wx/function.tex
index 4f60964ec6..191f4c59f5 100644
--- a/docs/latex/wx/function.tex
+++ b/docs/latex/wx/function.tex
@@ -54,14 +54,11 @@ get the next matching file.
 
 {\it flags} is reserved for future use.
 
-The returned filename is a pointer to static memory so should
-not be freed.
-
 For example:
 
 \begin{verbatim}
   wxString f = wxFindFirstFile("/home/project/*.*");
-  while (f != "")
+  while ( !f.IsEmpty() )
   {
     ...
     f = wxFindNextFile();
@@ -357,9 +354,6 @@ if (s)
 }
 \end{verbatim}
 
-Remember that the returned pointer is temporary and should be copied
-if other wxWindows calls will be made before the value is to be used.
-
 \wxheading{Include files}
 
 <wx/filedlg.h>
-- 
2.50.0

