X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/653a54d04953da64d79bf088c5b067ccce955c7a..260020e39271329f71d1ef7912e3dc8216a2e924:/src/mac/corefoundation/utilsexc_cf.cpp diff --git a/src/mac/corefoundation/utilsexc_cf.cpp b/src/mac/corefoundation/utilsexc_cf.cpp index 17e71da50c..ca17d2da39 100644 --- a/src/mac/corefoundation/utilsexc_cf.cpp +++ b/src/mac/corefoundation/utilsexc_cf.cpp @@ -227,11 +227,13 @@ int wxAddProcessCallbackForPid(wxEndProcessData *proc_data, int pid) // put it in because it's already compiled for wxCocoa and wxMac GUI lib. #if wxUSE_GUI +#if wxUSE_STDPATHS static wxStandardPathsCF gs_stdPaths; wxStandardPathsBase& wxGUIAppTraits::GetStandardPaths() { return gs_stdPaths; } +#endif #endif // wxUSE_GUI