]> git.saurik.com Git - wxWidgets.git/commitdiff
char */wxString confusion cleaned in the docs
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 26 Feb 1999 21:13:12 +0000 (21:13 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 26 Feb 1999 21:13:12 +0000 (21:13 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/function.tex

index 4f60964ec6885504e5bf92976f1ea6ea6138b9d4..191f4c59f56ad52b00d523818276aac18d3bd351 100644 (file)
@@ -54,14 +54,11 @@ get the next matching file.
 
 {\it flags} is reserved for future use.
 
 
 {\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/*.*");
 For example:
 
 \begin{verbatim}
   wxString f = wxFindFirstFile("/home/project/*.*");
-  while (f != "")
+  while ( !f.IsEmpty() )
   {
     ...
     f = wxFindNextFile();
   {
     ...
     f = wxFindNextFile();
@@ -357,9 +354,6 @@ if (s)
 }
 \end{verbatim}
 
 }
 \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>
 \wxheading{Include files}
 
 <wx/filedlg.h>