X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/726b98e9a1a796783e835b24caef03558527e85b..c3aee5c154ce130ab9858453c9ae28f944565695:/include/wx/stdpaths.h diff --git a/include/wx/stdpaths.h b/include/wx/stdpaths.h index 106790f7d5..5877ca4450 100644 --- a/include/wx/stdpaths.h +++ b/include/wx/stdpaths.h @@ -14,8 +14,6 @@ #include "wx/string.h" -class WXDLLIMPEXP_BASE wxStandardPaths; - // ---------------------------------------------------------------------------- // wxStandardPaths returns the standard locations in the file system // ---------------------------------------------------------------------------- @@ -24,7 +22,7 @@ class WXDLLIMPEXP_BASE wxStandardPathsBase { public: // return the global standard paths object - static wxStandardPaths& Get(); + static wxStandardPathsBase& Get(); // return the directory with system config files: @@ -84,8 +82,11 @@ protected: #if defined(__WXMSW__) #include "wx/msw/stdpaths.h" -#elif defined(__WXMAC__) || defined(__WXCOCOA__) +// We want CoreFoundation paths on both CarbonLib and Darwin (for all ports) +#elif defined(__WXMAC__) || defined(__DARWIN__) #include "wx/mac/corefoundation/stdpaths.h" +#elif defined(__OS2__) + #include "wx/os2/stdpaths.h" #elif defined(__UNIX__) #include "wx/unix/stdpaths.h" #endif