X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cc81d32f2bf8c159f3b1bf6ddaf62e6d77720209..677b38f28e645e362aedc11758bdda935f71ebfa:/docs/latex/wx/filesys.tex diff --git a/docs/latex/wx/filesys.tex b/docs/latex/wx/filesys.tex index c1e3e01e46..8c8b0f6215 100644 --- a/docs/latex/wx/filesys.tex +++ b/docs/latex/wx/filesys.tex @@ -65,7 +65,7 @@ commands change the path to "dir/subdir/": \begin{verbatim} ChangePathTo("dir/subdir/xh.htm"); ChangePathTo("dir/subdir", true); -C hangePathTo("dir/subdir/", true); + ChangePathTo("dir/subdir/", true); \end{verbatim} \wxheading{Parameters} @@ -121,11 +121,12 @@ Returns the next filename that matches parameters passed to \helpref{FindFirst}{ Opens the file and returns a pointer to a \helpref{wxFSFile}{wxfsfile} object or NULL if failed. It first tries to open the file in relative scope (based on value passed to ChangePathTo() method) and then as an -absolute path. +absolute path. Note that the user is responsible for deleting the returned +wxFSFile. \membersection{wxFileSystem::URLToFileName}\label{wxfilesystemurltofilename} -\func{static wxFileName}{URLToFileName}{\param{const wxString& }{url}} +\func{static wxFileName}{URLToFileName}{\param{const wxString\& }{url}} Converts URL into a well-formed filename. The URL must use the {\tt file} protocol.