X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6ad68ad8c829a59953913ae034e63ed689562c82..6d0d84554854a19db991ba64e7e034e1fc898ef0:/src/common/filefn.cpp diff --git a/src/common/filefn.cpp b/src/common/filefn.cpp index b9053ba8ac..0597305a5e 100644 --- a/src/common/filefn.cpp +++ b/src/common/filefn.cpp @@ -1657,7 +1657,7 @@ wxString wxGetOSDirectory() wxChar buf[256]; GetWindowsDirectory(buf, 256); return wxString(buf); -#elif defined(__WXMAC__) && !defined(__WXOSX_IPHONE__) +#elif defined(__WXMAC__) && wxOSX_USE_CARBON return wxMacFindFolder(kOnSystemDisk, 'macs', false); #else return wxEmptyString;