bool
wxIsAbsolutePath (const wxString& filename)
{
- if (filename != "")
+ if (filename != _T(""))
{
if (filename[0] == _T('/')
#ifdef __VMS__
// Return just the directory, or NULL if no directory
wxString wxPathOnly (const wxString& path)
{
- if (path != "")
+ if (path != _T(""))
{
wxChar buf[_MAXPATHLEN];
#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