From 678c48b37d06743464a6fca756dc0ca056a796e9 Mon Sep 17 00:00:00 2001 From: Robert Roebling <robert@roebling.de> Date: Sat, 14 Jul 2001 11:28:26 +0000 Subject: [PATCH] wxIsAbsolutePath is strange under wxMac git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/filefn.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.47.2