X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/51cb1a658767a8b605f132dbdb486f7a00569235..9e967d5417d49764276cf121a32c35d5770b1332:/docs/latex/wx/filename.tex

diff --git a/docs/latex/wx/filename.tex b/docs/latex/wx/filename.tex
index 5b4d7bb230..9efca1ad59 100644
--- a/docs/latex/wx/filename.tex
+++ b/docs/latex/wx/filename.tex
@@ -28,18 +28,26 @@ wxFileName dirname( wxT("C:\mydir"), wxEmptyString );
 MyMethod( dirname.GetPath() );
 \end{verbatim}
 
+The same can be done using the static method \helpref{wxFileName::DirName}{wxfilenamedirname}:
+
+\begin{verbatim}
+wxFileName dirname = wxFileName::DirName( wxT("C:\mydir") );
+MyMethod( dirname.GetPath() );
+\end{verbatim}
+
 Accordingly, methods dealing with directories or directory names
-like \helpref{IsDirReadable}{wxfilenameisdirreadale} use
+like \helpref{IsDirReadable}{wxfilenameisdirreadable} use
 \helpref{GetPath}{wxfilenamegetpath} whereas methods dealing 
-with file names like \helpref{IsFileReadable}{wxfilenameisfilereadale}
+with file names like \helpref{IsFileReadable}{wxfilenameisfilereadable}
 use \helpref{GetFullPath}{wxfilenamegetfullpath}.
 
 If it is not known wether a string contains a directory name or
 a complete file name (such as when interpreting user input) you need to use
 the static function \helpref{wxFileName::DirExists}{wxfilenamedirexists}
-(or its global variant \helpref{wxDirExists}{wxdirexists}) and
-construct the wxFileName instance accordingly. This will only work
-if the directory actually exists, of course:
+(or its identical variants \helpref{wxDir::Exists}{wxdirexists} and
+\helpref{wxDirExists}{functionwxdirexists}) and construct the wxFileName
+instance accordingly. This will only work if the directory actually exists,
+of course:
 
 \begin{verbatim}
 wxString user_input;
@@ -60,6 +68,10 @@ No base class
 
 <wx/filename.h>
 
+\wxheading{Library}
+
+\helpref{wxBase}{librarieslist}
+
 \wxheading{Data structures}
 
 Many wxFileName methods accept the path format argument which is by\rtfsp
@@ -134,6 +146,8 @@ You can initialize a wxFileName instance using one of the following functions:
 \helpref{AssignDir}{wxfilenameassigndir}\\
 \helpref{AssignHomeDir}{wxfilenameassignhomedir}\\
 \helpref{AssignHomeTempFileName}{wxfilenameassigntempfilename}\\
+\helpref{DirName}{wxfilenamedirname}\\
+\helpref{FileName}{wxfilenamefilename}\\
 \helpref{operator $=$}{wxfilenameoperatorassign}
 
 
