X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f1e7793361bb0106611e5d1373b4e1e6ed30f14f..4ac725a3b3cc829e39c91173aaeb61132d4a231c:/include/wx/filename.h?ds=sidebyside diff --git a/include/wx/filename.h b/include/wx/filename.h index ef9a23dd97..954f4f349f 100644 --- a/include/wx/filename.h +++ b/include/wx/filename.h @@ -149,11 +149,7 @@ public: void Assign(const wxString& path, const wxString& name, const wxString& ext, - wxPathFormat format = wxPATH_NATIVE) - { - // empty volume - Assign(wxEmptyString, path, name, ext, format); - } + wxPathFormat format = wxPATH_NATIVE); void AssignDir(const wxString& dir, wxPathFormat format = wxPATH_NATIVE); @@ -178,7 +174,7 @@ public: // is the filename valid at all? 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; }