X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/95dee6514a24c2958b9571eb1c1a44ad3aad7a9e..85d10d9bbb92b967eea4d2307ce4956aff5e6f46:/include/wx/utils.h?ds=sidebyside diff --git a/include/wx/utils.h b/include/wx/utils.h index 2f1bcc7768..ecc35d98e6 100644 --- a/include/wx/utils.h +++ b/include/wx/utils.h @@ -205,7 +205,11 @@ WXDLLEXPORT const wxChar* wxGetHomeDir(wxString *pstr); // Get the user's home dir (caller must copy --- volatile) // returns NULL is no HOME dir is known +#if defined(__UNIX__) && wxUSE_UNICODE +WXDLLEXPORT const wxMB2WXbuf wxGetUserHome(const wxString& user = wxEmptyString); +#else WXDLLEXPORT wxChar* wxGetUserHome(const wxString& user = wxEmptyString); +#endif // ---------------------------------------------------------------------------- // Strip out any menu codes