From: Robert Roebling Date: Wed, 23 Jan 2008 20:48:20 +0000 (+0000) Subject: remove wxT() X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4a9dc87b27aca1710578ccb34beaa199651a480f remove wxT() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/latex/wx/filename.tex b/docs/latex/wx/filename.tex index 9efca1ad59..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} @@ -88,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,