X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a4294b7832a5aed3c1cccc06aecd227d43da8830..184b5d99a5382cd7a19888c85aff11f8a21af2f6:/src/motif/utils.cpp 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