X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/223d09f6b523aac674ef9b72a883dfa8d37c5d4e..cbf97a6cd655d44e6f7b1ffaf35be0c392532ae7:/src/common/textfile.cpp diff --git a/src/common/textfile.cpp b/src/common/textfile.cpp index 9b35dfd8de..5c74b3ab57 100644 --- a/src/common/textfile.cpp +++ b/src/common/textfile.cpp @@ -145,6 +145,11 @@ wxTextFile::~wxTextFile() // file operations // ---------------------------------------------------------------------------- +bool wxTextFile::Exists() const +{ + return wxFile::Exists(m_strFile); +} + bool wxTextFile::Open(const wxString& strFile) { m_strFile = strFile;