made SameAs() and operator==() const, added operator!=() and docs for it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -598,7 +598,7 @@ Deletes the specified directory from the file system.
|
||||
|
||||
\membersection{wxFileName::SameAs}\label{wxfilenamesameas}
|
||||
|
||||
\func{bool}{SameAs}{\param{const wxFileName\& }{filepath}, \param{wxPathFormat }{format = wxPATH\_NATIVE}}
|
||||
\constfunc{bool}{SameAs}{\param{const wxFileName\& }{filepath}, \param{wxPathFormat }{format = wxPATH\_NATIVE}}
|
||||
|
||||
Compares the filename using the rules of this platform.
|
||||
|
||||
@@ -674,9 +674,19 @@ Assigns the new value to this filename object.
|
||||
|
||||
\membersection{wxFileName::operator==}\label{wxfilenameoperatorequal}
|
||||
|
||||
\func{bool operator}{operator==}{\param{const wxFileName\& }{filename}}
|
||||
\constfunc{bool operator}{operator==}{\param{const wxFileName\& }{filename}}
|
||||
|
||||
\func{bool operator}{operator==}{\param{const wxString\& }{filename}}
|
||||
\constfunc{bool operator}{operator==}{\param{const wxString\& }{filename}}
|
||||
|
||||
Returns {\tt TRUE} if the filenames are equal for the native file format.
|
||||
Returns {\tt TRUE} if the filenames are equal. The string {\it filenames} is
|
||||
interpreted as a path in the native filename format.
|
||||
|
||||
\membersection{wxFileName::operator!=}\label{wxfilenameoperatornotequal}
|
||||
|
||||
\constfunc{bool operator}{operator!=}{\param{const wxFileName\& }{filename}}
|
||||
|
||||
\constfunc{bool operator}{operator!=}{\param{const wxString\& }{filename}}
|
||||
|
||||
Returns {\tt TRUE} if the filenames are different. The string {\it filenames}
|
||||
is interpreted as a path in the native filename format.
|
||||
|
||||
|
Reference in New Issue
Block a user