wxGetUserHome() returns "const wxMB2WXbuf" for Unix in Unicode build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -205,7 +205,11 @@ WXDLLEXPORT const wxChar* wxGetHomeDir(wxString *pstr);
|
|||||||
|
|
||||||
// Get the user's home dir (caller must copy --- volatile)
|
// Get the user's home dir (caller must copy --- volatile)
|
||||||
// returns NULL is no HOME dir is known
|
// 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);
|
WXDLLEXPORT wxChar* wxGetUserHome(const wxString& user = wxEmptyString);
|
||||||
|
#endif
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// Strip out any menu codes
|
// Strip out any menu codes
|
||||||
|
Reference in New Issue
Block a user