X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3af9f2de592953bec39a58cc871678fa85a3b056..991dd5beb9feb764adc5c1e6a913186d2c17747e:/include/wx/mac/corefoundation/stdpaths.h diff --git a/include/wx/mac/corefoundation/stdpaths.h b/include/wx/mac/corefoundation/stdpaths.h index 00b1ffbdf7..3fcb8d5676 100644 --- a/include/wx/mac/corefoundation/stdpaths.h +++ b/include/wx/mac/corefoundation/stdpaths.h @@ -26,13 +26,14 @@ class WXDLLIMPEXP_BASE wxStandardPathsCF : public wxStandardPathsBase { public: wxStandardPathsCF(); - ~wxStandardPathsCF(); + virtual ~wxStandardPathsCF(); // wxMac specific: allow user to specify a different bundle wxStandardPathsCF(wxCFBundleRef bundle); void SetBundle(wxCFBundleRef bundle); // implement base class pure virtuals + virtual wxString GetExecutablePath() const; virtual wxString GetConfigDir() const; virtual wxString GetUserConfigDir() const; virtual wxString GetDataDir() const; @@ -40,8 +41,10 @@ public: virtual wxString GetUserDataDir() const; virtual wxString GetPluginsDir() const; virtual wxString GetResourcesDir() const; - virtual wxString GetLocalizedResourcesDir(const wxChar *lang, - ResourceCat category) const; + virtual wxString + GetLocalizedResourcesDir(const wxString& lang, + ResourceCat category = ResourceCat_None) const; + virtual wxString GetDocumentsDir() const; protected: // this function can be called with any of CFBundleCopyXXXURL function