X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dfecbee5795f4ecd50ece7dda7c1ff49f181a04d..ce76f779c6cfd2155de825021cc645572fe43625:/src/common/filename.cpp diff --git a/src/common/filename.cpp b/src/common/filename.cpp index 46ce327c19..7582c0ef10 100644 --- a/src/common/filename.cpp +++ b/src/common/filename.cpp @@ -452,7 +452,8 @@ void wxFileName::Assign(const wxString& fullpathOrig, _T("the path shouldn't contain file name nor extension") ); #else // !__WXDEBUG__ - SplitPath(fullname, NULL /* no path */, &name, &ext, &hasExt, format); + SplitPath(fullname, NULL /* no volume */, NULL /* no path */, + &name, &ext, &hasExt, format); SplitPath(fullpath, &volume, &path, NULL, NULL, format); #endif // __WXDEBUG__/!__WXDEBUG__ @@ -526,7 +527,7 @@ bool wxFileName::DirExists() const bool wxFileName::DirExists( const wxString &dir ) { - return ::wxDirExists( dir ); + return ::wxPathExists( dir ); } // ----------------------------------------------------------------------------