///////////////////////////////////////////////////////////////////////////////
-// Name: wx/mac/corefoundation/stdpaths.h
+// Name: wx/osx/core/stdpaths.h
// Purpose: wxStandardPaths for CoreFoundation systems
// Author: David Elliott
// Modified by:
class WXDLLIMPEXP_BASE wxStandardPathsCF : public wxStandardPathsCFBase
{
public:
- wxStandardPathsCF();
virtual ~wxStandardPathsCF();
// wxMac specific: allow user to specify a different bundle
virtual wxString GetDocumentsDir() const;
protected:
+ // Ctor is protected, use wxStandardPaths::Get() instead of instantiating
+ // objects of this class directly.
+ wxStandardPathsCF();
+
// this function can be called with any of CFBundleCopyXXXURL function
// pointer as parameter
wxString GetFromFunc(wxCFURLRef (*func)(wxCFBundleRef)) const;