]> git.saurik.com Git - wxWidgets.git/commitdiff
added missing #if wxUSE_STDPATHS
authorVáclav Slavík <vslavik@fastmail.fm>
Tue, 19 Jun 2007 19:58:56 +0000 (19:58 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Tue, 19 Jun 2007 19:58:56 +0000 (19:58 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/corefoundation/utilsexc_cf.cpp

index 17e71da50ce8e7b61bc28bd7de9570c3d9c37314..ca17d2da39d6885aa0e157714a2d1708f2d22ec4 100644 (file)
@@ -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