always return wxString from wxGetUserHome() instead of char */wxWCharBuffer depending on the build

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-10-06 12:38:15 +00:00
parent 987bb1c66b
commit 14d6351382
8 changed files with 58 additions and 75 deletions

View File

@@ -1571,11 +1571,14 @@ that there isn't always a standard way to do a reliable check on the OS architec
\membersection{::wxGetUserHome}\label{wxgetuserhome}
\func{const wxChar *}{wxGetUserHome}{\param{const wxString\& }{user = ""}}
\func{wxString}{wxGetUserHome}{\param{const wxString\& }{user = ""}}
Returns the home directory for the given user. If the username is empty
(default value), this function behaves like
\helpref{wxGetHomeDir}{wxgethomedir}.
Returns the home directory for the given user. If the \arg{user} is empty
(default value), this function behaves like
\helpref{wxGetHomeDir}{wxgethomedir} i.e. returns the current user home
directory.
If the home directory couldn't be determined, an empty string is returned.
\wxheading{Include files}