From: Robert Roebling Date: Sat, 14 Jul 2001 11:28:26 +0000 (+0000) Subject: wxIsAbsolutePath is strange under wxMac X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/678c48b37d06743464a6fca756dc0ca056a796e9 wxIsAbsolutePath is strange under wxMac git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/filefn.cpp b/src/common/filefn.cpp index 92a7946418..fef89de43f 100644 --- a/src/common/filefn.cpp +++ b/src/common/filefn.cpp @@ -289,8 +289,12 @@ wxIsAbsolutePath (const wxString& filename) #ifdef __WXMAC__ if (filename != wxT("")) { +// This seems wrong to me, RR. FIXME. + if( filename.Find(':') != wxNOT_FOUND && filename[0] != ':' ) return TRUE ; + +// if (filename[0] == ':') return TRUE ; } return FALSE ; #else