X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/23fb9116c3828760178f297e5c7bf61208362838..07fa8f78f82cd01ef4034a489419da9e86499b18:/docs/latex/wx/filename.tex?ds=sidebyside diff --git a/docs/latex/wx/filename.tex b/docs/latex/wx/filename.tex index 2ec4d49ad6..870e8a53d8 100644 --- a/docs/latex/wx/filename.tex +++ b/docs/latex/wx/filename.tex @@ -24,14 +24,14 @@ make sure not to misuse the file name part of this class with the last directory. Instead initialize the wxFileName instance like this: \begin{verbatim} -wxFileName dirname( wxT("C:\mydir"), wxEmptyString ); +wxFileName dirname( "C:\mydir", "" ); 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") ); +wxFileName dirname = wxFileName::DirName( "C:\mydir" ); MyMethod( dirname.GetPath() ); \end{verbatim} @@ -68,6 +68,10 @@ No base class +\wxheading{Library} + +\helpref{wxBase}{librarieslist} + \wxheading{Data structures} Many wxFileName methods accept the path format argument which is by\rtfsp @@ -84,7 +88,7 @@ enum wxPathFormat wxPATH_NATIVE = 0, // the path format for the current platform wxPATH_UNIX, wxPATH_BEOS = wxPATH_UNIX, - wxPATH_MAC, + wxPATH_MAC, // the old HFS format, deprecated wxPATH_DOS, wxPATH_WIN = wxPATH_DOS, wxPATH_OS2 = wxPATH_DOS,