X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/40e8ee374f4be8108096e953333eaf45b3f743ed..3ac1094bead05e30462122d00e4859725d2ea59f:/include/wx/msw/stdpaths.h?ds=sidebyside diff --git a/include/wx/msw/stdpaths.h b/include/wx/msw/stdpaths.h index c1e9bb3f3c..d8f15d43c9 100644 --- a/include/wx/msw/stdpaths.h +++ b/include/wx/msw/stdpaths.h @@ -20,19 +20,21 @@ class WXDLLIMPEXP_BASE wxStandardPaths : public wxStandardPathsBase { public: // 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 GetDocumentsDir() const; protected: - // append "/appname" suffix if the app name is set - static wxString AppendAppName(const wxString& dir); - // 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(); }; // ----------------------------------------------------------------------------