From: Václav Slavík Date: Tue, 19 Jun 2007 19:58:56 +0000 (+0000) Subject: added missing #if wxUSE_STDPATHS X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/531814a7fbe37bb01ce311770b4c44af5b1dc322?ds=sidebyside added missing #if wxUSE_STDPATHS git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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