X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0b40f3d80b78cfbcce1927a684239bfe8d37fe58..05c3f0fc73d9124061c08e3d707b4e3d6bab4ff4:/include/wx/filename.h 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; }