minor fix to wxFileName::MakeRelativeTo(), removed broken and misleading IsWild() method, added IsDir() one

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2002-04-05 11:14:09 +00:00
parent 808ef6d2e8
commit 2db991f457
4 changed files with 30 additions and 18 deletions

View File

@@ -94,8 +94,7 @@ does.
Other functions returning information about the file format provided by this
class are \helpref{GetVolumeSeparator}{wxfilenamegetvolumeseparator},\rtfsp
\helpref{IsPathSeparator}{wxfilenameispathseparator} and\rtfsp
\helpref{IsWild}{wxfilenameiswild}.
\helpref{IsPathSeparator}{wxfilenameispathseparator}.
\helpref{IsRelative}{wxfilenameisrelative}
@@ -477,11 +476,15 @@ Returns {\tt TRUE} if the char is a path separator for this format.
Returns {\tt TRUE} if this filename is not absolute.
\membersection{wxFileName::IsWild}\label{wxfilenameiswild}
\membersection{wxFileName::IsDir}\label{wxfilenameisdir}
\func{bool}{IsWild}{\param{wxPathFormat }{format = wxPATH\_NATIVE}}
\constfunc{bool}{IsDir}{\void}
FIXME: what exactly does this do?
Returns {\tt TRUE} if this object represents a directory, {\tt FALSE} otherwise
(i.e. if it is a file). Note that this method doesn't test whether the
directory or file really exists, you should use
\helpref{DirExists}{wxfilenamedirexists} or
\helpref{FileExists}{wxfilenamefileexists} for this.
\membersection{wxFileName::MakeRelativeTo}\label{wxfilenamemakerelativeto}