X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3af9f2de592953bec39a58cc871678fa85a3b056..cbeda384e51acb82e13994cb67ac1714669cae10:/include/wx/msw/stdpaths.h diff --git a/include/wx/msw/stdpaths.h b/include/wx/msw/stdpaths.h index c12729857e..cb141af92c 100644 --- a/include/wx/msw/stdpaths.h +++ b/include/wx/msw/stdpaths.h @@ -19,19 +19,29 @@ class WXDLLIMPEXP_BASE wxStandardPaths : public wxStandardPathsBase { public: + wxStandardPaths() + { + UseAppInfo(AppInfo_AppName | AppInfo_VendorName); + } + + ~wxStandardPaths() { } + // implement base class pure virtuals + virtual wxString GetExecutablePath() const; virtual wxString GetConfigDir() const; virtual wxString GetUserConfigDir() const; virtual wxString GetDataDir() const; virtual wxString GetUserDataDir() const; virtual wxString GetUserLocalDataDir() const; virtual wxString GetPluginsDir() const; - virtual wxString GetLocalizedResourcesDir(const wxChar *lang, - ResourceCat category) const; + virtual wxString GetDocumentsDir() const; protected: // get the path corresponding to the given standard CSIDL_XXX constant static wxString DoGetDirectory(int csidl); + + // return the directory of the application itself + static wxString GetAppDir(); }; // ----------------------------------------------------------------------------