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:
@@ -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}
|
||||
|
||||
|
Reference in New Issue
Block a user