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}
<wx/filename.h>
+\wxheading{Library}
+
+\helpref{wxBase}{librarieslist}
+
\wxheading{Data structures}
Many wxFileName methods accept the path format argument which is by\rtfsp
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,
\helpref{AssignDir}{wxfilenameassigndir}\\
\helpref{AssignHomeDir}{wxfilenameassignhomedir}\\
\helpref{AssignHomeTempFileName}{wxfilenameassigntempfilename}\\
+\helpref{DirName}{wxfilenamedirname}\\
+\helpref{FileName}{wxfilenamefilename}\\
\helpref{operator $=$}{wxfilenameoperatorassign}