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:
Vadim Zeitlin
2006-04-17 01:12:04 +00:00
parent af6c0f1de7
commit 17af82fb4c
13 changed files with 80 additions and 5 deletions

View File

@@ -40,6 +40,7 @@ All:
- Many fixes for UTF-16/32 handling in Unicode builds
- wxLaunchDefaultBrowser() now supports wxBROWSER_NEW_WINDOW flag.
- Added wxStandardPaths::GetResourcesDir() and GetLocalizedResourcesDir()
- Added wxStandardPaths::GetDocumentsDir() (Ken Thomases)
- Added wxStringTokenizer::GetLastDelimiter(); improved documentation.
- Fixed wxTextFile in Unicode build
- Speed improvements to wxRegEx when matching is done in a loop such as

View File

@@ -95,6 +95,20 @@ Example return values:
\helpref{GetLocalDataDir}{wxstandardpathsgetlocaldatadir}
\membersection{wxStandardPaths::GetDocumentsDir}\label{wxstandardpathsgetdocumentsdir}
\func{wxString}{GetDocumentsDir}{\void}
Return the directory containing the current user's documents.
Example return values:
\begin{itemize}
\item Unix: \tt{~} (the home directory)
\item Windows: \texttt{C:$\backslash$Documents and Settings$\backslash$\textit{username}$\backslash$Documents}
\item Mac: \texttt{~/Documents}
\end{itemize}
\membersection{wxStandardPaths::GetInstallPrefix}\label{wxstandardpathsgetinstallprefix}
\func{wxString}{GetInstallPrefix}{\void}