CFURLRef cfurlApp =
CFURLCreateWithFileSystemPath(
kCFAllocatorDefault,
- wxMacCFStringHolder(path),
+ wxCFStringRef(path),
kDefaultPathStyle,
true); //false == not a directory
// First, try creating as a directory
cfurlCurrentFile = CFURLCreateWithFileSystemPath(
kCFAllocatorDefault,
- wxMacCFStringHolder(*argv),
+ wxCFStringRef(*argv),
kDefaultPathStyle,
true); //true == directory
}
// as a regular file
cfurlCurrentFile = CFURLCreateWithFileSystemPath(
kCFAllocatorDefault,
- wxMacCFStringHolder(*argv),
+ wxCFStringRef(*argv),
kDefaultPathStyle,
false); //false == regular file
}
// so try creating it through CFURLCreateWithString
cfurlCurrentFile = CFURLCreateWithString(
kCFAllocatorDefault,
- wxMacCFStringHolder(*argv),
+ wxCFStringRef(*argv),
NULL);
}