]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/corefoundation/utilsexc_cf.cpp
Added missing URL attribute testing
[wxWidgets.git] / src / mac / corefoundation / utilsexc_cf.cpp
index 7c3796c8a282a65b4f2fd22c23f9876d4d8c930c..ca17d2da39d6885aa0e157714a2d1708f2d22ec4 100644 (file)
@@ -26,6 +26,8 @@
 // Use polling instead of Mach ports, which doesn't work on Intel
 // due to task_for_pid security issues.
 
+// http://developer.apple.com/technotes/tn/tn2050.html
+
 // What's a better test for Intel vs PPC?
 #ifdef WORDS_BIGENDIAN
 #define USE_POLLING 0
@@ -225,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