X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2587df2c82960db1b9547b24d1cd895b1b8a5102..cf1c280f7f50f7b6b81a21a13fc4550c30f4e0d2:/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;