File/DirExists() are const now

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-01-25 12:01:57 +00:00
parent df861444a1
commit 8e41796c6c
3 changed files with 12 additions and 8 deletions

View File

@@ -461,7 +461,7 @@ wxFileName wxFileName::DirName(const wxString& dir)
// existence tests
// ----------------------------------------------------------------------------
bool wxFileName::FileExists()
bool wxFileName::FileExists() const
{
return wxFileName::FileExists( GetFullPath() );
}
@@ -471,7 +471,7 @@ bool wxFileName::FileExists( const wxString &file )
return ::wxFileExists( file );
}
bool wxFileName::DirExists()
bool wxFileName::DirExists() const
{
return wxFileName::DirExists( GetFullPath() );
}