X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0049c31e8d258fdbb99a676c7ad1006201ac90f9..5ecd98f17596ce1593741fb379e1ef813de41fcc:/include/wx/osx/core/stdpaths.h diff --git a/include/wx/osx/core/stdpaths.h b/include/wx/osx/core/stdpaths.h index a456571e83..8ebe071e9c 100644 --- a/include/wx/osx/core/stdpaths.h +++ b/include/wx/osx/core/stdpaths.h @@ -1,10 +1,9 @@ /////////////////////////////////////////////////////////////////////////////// -// Name: wx/mac/corefoundation/stdpaths.h +// Name: wx/osx/core/stdpaths.h // Purpose: wxStandardPaths for CoreFoundation systems // Author: David Elliott // Modified by: // Created: 2004-10-27 -// RCS-ID: $Id$ // Copyright: (c) 2004 David Elliott // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -35,7 +34,6 @@ typedef __CFBundle * wxCFBundleRef; class WXDLLIMPEXP_BASE wxStandardPathsCF : public wxStandardPathsCFBase { public: - wxStandardPathsCF(); virtual ~wxStandardPathsCF(); // wxMac specific: allow user to specify a different bundle @@ -57,6 +55,10 @@ public: 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;