added wxStandardPaths::GetDocumentsDir() (patch 1214360)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -111,6 +111,12 @@ public:
|
||||
return GetResourcesDir() + wxFILE_SEP_PATH + lang;
|
||||
}
|
||||
|
||||
// return the "Documents" directory for the current user
|
||||
//
|
||||
// C:\Documents and Settings\username\Documents under Windows,
|
||||
// $HOME under Unix and ~/Documents under Mac
|
||||
virtual wxString GetDocumentsDir() const;
|
||||
|
||||
|
||||
// virtual dtor for the base class
|
||||
virtual ~wxStandardPathsBase();
|
||||
@@ -149,6 +155,7 @@ public:
|
||||
virtual wxString GetLocalDataDir() const { return m_prefix; }
|
||||
virtual wxString GetUserDataDir() const { return m_prefix; }
|
||||
virtual wxString GetPluginsDir() const { return m_prefix; }
|
||||
virtual wxString GetDocumentsDir() const { return m_prefix; }
|
||||
|
||||
private:
|
||||
wxString m_prefix;
|
||||
|
Reference in New Issue
Block a user