X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0b40f3d80b78cfbcce1927a684239bfe8d37fe58..4508c2b01b806be847366f0b3da0f6e65ec23cc5:/include/wx/filename.h?ds=sidebyside diff --git a/include/wx/filename.h b/include/wx/filename.h index b3b961c056..ad9feee7af 100644 --- a/include/wx/filename.h +++ b/include/wx/filename.h @@ -35,7 +35,6 @@ 3. SameFileAs() function to compare inodes under Unix */ -// ridiculously enough, this will replace DirExists with wxDirExists etc #include "wx/filefn.h" #include "wx/datetime.h" @@ -186,7 +185,7 @@ public: bool IsOk() const { // we're fine if we have the path or the name or if we're a root dir - return m_dirs.size() != 0 || !m_name.IsEmpty() || !m_relative || + return m_dirs.size() != 0 || !m_name.empty() || !m_relative || !m_ext.empty() || m_hasExt; }