X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5bb9aeb266b98f0366715fdd0ab33b75328fa65e..a24dc1a836159cbec24c577d9e576f8dbafad728:/docs/latex/wx/filename.tex diff --git a/docs/latex/wx/filename.tex b/docs/latex/wx/filename.tex index b294adbd72..dbd88c6e45 100644 --- a/docs/latex/wx/filename.tex +++ b/docs/latex/wx/filename.tex @@ -73,7 +73,7 @@ The rules for determining if the file name is absolute or relative also depends on the file name format and the only portable way to answer to this question is to use \helpref{IsAbsolute}{wxfilenameisabsolute} method. To ensure that the filename is absolute you may use \helpref{MakeAbsolute}{wxfilenamemakeabsolute}. -There is also an inverse function +There is also an inverse function \helpref{MakeRelativeTo}{wxfilenamemakerelativeto} which undoes what \helpref{Normalize(wxPATH\_NORM\_DOTS)}{wxfilenamenormalize} does. @@ -645,6 +645,7 @@ variables will be expanded in it. \docparam{flags}{The kind of normalization to do with the file name. It can be any or-combination of the following constants: + \begin{twocollist} \twocolitem{{\bf wxPATH\_NORM\_ENV\_VARS}}{replace env vars with their values} \twocolitem{{\bf wxPATH\_NORM\_DOTS}}{squeeze all .. and . and prepend cwd} @@ -652,9 +653,10 @@ any or-combination of the following constants: \twocolitem{{\bf wxPATH\_NORM\_CASE}}{if filesystem is case insensitive, transform to tolower case} \twocolitem{{\bf wxPATH\_NORM\_ABSOLUTE}}{make the path absolute} \twocolitem{{\bf wxPATH\_NORM\_LONG}}{make the path the long form} +\twocolitem{{\bf wxPATH\_NORM\_SHORTCUT}}{resolve if it is a shortcut (Windows only)} \twocolitem{{\bf wxPATH\_NORM\_ALL}}{all of previous flags except \texttt{wxPATH\_NORM\_CASE}} \end{twocollist} -} +}% \docparam{cwd}{If not empty, this directory will be used instead of current working directory in normalization.}