X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/901504c38303a144615a7f88b328694c6662bbf7..996d3fe3f80a5954439d6a57c858ac43d2576cf2:/src/common/filename.cpp diff --git a/src/common/filename.cpp b/src/common/filename.cpp index 29cf9acb3a..a3f8ac3c5d 100644 --- a/src/common/filename.cpp +++ b/src/common/filename.cpp @@ -732,6 +732,12 @@ bool wxFileName::DirExists( const wxString &dirPath ) return wxFileSystemObjectExists(dirPath, wxFileSystemObject_Dir); } +/* static */ +bool wxFileName::Exists(const wxString& path) +{ + return wxFileSystemObjectExists(path, wxFileSystemObject_Any); +} + // ---------------------------------------------------------------------------- // CWD and HOME stuff // ----------------------------------------------------------------------------