X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a4294b7832a5aed3c1cccc06aecd227d43da8830..a38b83c353cce75329b2c53c0eaa4ad0f500ccf1:/src/motif/utils.cpp?ds=sidebyside diff --git a/src/motif/utils.cpp b/src/motif/utils.cpp index 5c2797dc17..63278446f8 100644 --- a/src/motif/utils.cpp +++ b/src/motif/utils.cpp @@ -615,6 +615,13 @@ bool wxIsBusy() return (wxBusyCursorCount > 0); } +const char* wxGetHomeDir( wxString *home ) +{ + *home = wxGetUserHome( wxString() ); + if (home->IsNull()) *home = "/"; + return *home; +}; + char *wxGetUserHome (const wxString& user) { #ifdef VMS