diff --git a/src/common/filefn.cpp b/src/common/filefn.cpp index 699b87b180..0155530824 100644 --- a/src/common/filefn.cpp +++ b/src/common/filefn.cpp @@ -1510,9 +1510,9 @@ wxString wxGetOSDirectory() #endif } -bool wxEndsWithPathSeparator(const char *pszFileName) +bool wxEndsWithPathSeparator(const wxChar *pszFileName) { - size_t len = Strlen(pszFileName); + size_t len = wxStrlen(pszFileName); if ( len == 0 ) return FALSE; else