X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0b40f3d80b78cfbcce1927a684239bfe8d37fe58..f60b1d829dd8a6d5e47a2adcd3690acb3bd10150:/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; }