X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/80539f0490f5a5858568d3ed79b021594c23c521..504f8052fd01fdc49848d29a5ade7b061f419b81:/src/mac/corefoundation/utilsexc_base.cpp diff --git a/src/mac/corefoundation/utilsexc_base.cpp b/src/mac/corefoundation/utilsexc_base.cpp index b1ed128295..878d2ed814 100644 --- a/src/mac/corefoundation/utilsexc_base.cpp +++ b/src/mac/corefoundation/utilsexc_base.cpp @@ -87,7 +87,7 @@ long wxMacExecute(wxChar **argv, CFURLRef cfurlApp = CFURLCreateWithFileSystemPath( kCFAllocatorDefault, - wxMacCFStringHolder(path), + wxCFStringRef(path), kDefaultPathStyle, true); //false == not a directory @@ -155,7 +155,7 @@ long wxMacExecute(wxChar **argv, // First, try creating as a directory cfurlCurrentFile = CFURLCreateWithFileSystemPath( kCFAllocatorDefault, - wxMacCFStringHolder(*argv), + wxCFStringRef(*argv), kDefaultPathStyle, true); //true == directory } @@ -165,7 +165,7 @@ long wxMacExecute(wxChar **argv, // as a regular file cfurlCurrentFile = CFURLCreateWithFileSystemPath( kCFAllocatorDefault, - wxMacCFStringHolder(*argv), + wxCFStringRef(*argv), kDefaultPathStyle, false); //false == regular file } @@ -176,7 +176,7 @@ long wxMacExecute(wxChar **argv, // so try creating it through CFURLCreateWithString cfurlCurrentFile = CFURLCreateWithString( kCFAllocatorDefault, - wxMacCFStringHolder(*argv), + wxCFStringRef(*argv), NULL); }