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:
@@ -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() );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user