wxIsAbsolutePath is strange under wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -289,8 +289,12 @@ wxIsAbsolutePath (const wxString& filename)
|
|||||||
#ifdef __WXMAC__
|
#ifdef __WXMAC__
|
||||||
if (filename != wxT(""))
|
if (filename != wxT(""))
|
||||||
{
|
{
|
||||||
|
// This seems wrong to me, RR. FIXME.
|
||||||
|
|
||||||
if( filename.Find(':') != wxNOT_FOUND && filename[0] != ':' )
|
if( filename.Find(':') != wxNOT_FOUND && filename[0] != ':' )
|
||||||
return TRUE ;
|
return TRUE ;
|
||||||
|
|
||||||
|
// if (filename[0] == ':') return TRUE ;
|
||||||
}
|
}
|
||||||
return FALSE ;
|
return FALSE ;
|
||||||
#else
|
#else
|
||||||
|
Reference in New Issue
Block a user